-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(consensus): remove some fields from ConsensusConfig #3379
chore(consensus): remove some fields from ConsensusConfig #3379
Conversation
dc0dd26
to
14909c5
Compare
eee25b4
to
e07b167
Compare
14909c5
to
28f6ed1
Compare
e07b167
to
fb11f3a
Compare
28f6ed1
to
296594f
Compare
fb11f3a
to
0647983
Compare
296594f
to
8d996ae
Compare
0647983
to
49d2b6a
Compare
8d996ae
to
9ac69ae
Compare
49d2b6a
to
cd98972
Compare
9ac69ae
to
e864fff
Compare
cd98972
to
971b1a4
Compare
e864fff
to
59490b8
Compare
971b1a4
to
2aa4ba5
Compare
59490b8
to
1aca5ea
Compare
2aa4ba5
to
ec22ff9
Compare
1aca5ea
to
9902c7b
Compare
ec22ff9
to
df3710f
Compare
df3710f
to
4216dba
Compare
f4c4d38
to
c533198
Compare
761bdf6
to
6fbfb91
Compare
279df6d
to
9859dd1
Compare
21218ae
to
c25a1d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 10 files at r1, 27 of 27 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @guy-starkware and @matan-starkware)
crates/starknet_consensus/src/config.rs
line 82 at r2 (raw file):
Self { validator_id: ValidatorId::from(DEFAULT_VALIDATOR_ID), // start_height: BlockNumber::default(),
delete
c25a1d6
to
172357a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 10 of 28 files reviewed, 1 unresolved discussion (waiting on @asmaastarkware and @matan-starkware)
crates/starknet_consensus/src/config.rs
line 82 at r2 (raw file):
Previously, asmaastarkware (asmaa-starkware) wrote…
delete
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 18 of 18 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @guy-starkware)
crates/starknet_consensus/src/config.rs
line 36 at r3 (raw file):
pub future_height_limit: u32, /// How many rounds in the future should we cache. pub future_round_limit: u32,
Adding these doesn't belong in "remove some fields from ConsensusConfig"
Code quote:
/// How many heights in the future should we cache.
pub future_height_limit: u32,
/// How many rounds in the future should we cache.
pub future_round_limit: u32,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @matan-starkware)
crates/starknet_consensus/src/config.rs
line 36 at r3 (raw file):
Previously, matan-starkware wrote…
Adding these doesn't belong in "remove some fields from ConsensusConfig"
Should I break this into a new PR or rename this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @guy-starkware)
crates/starknet_consensus/src/config.rs
line 36 at r3 (raw file):
Previously, guy-starkware wrote…
Should I break this into a new PR or rename this one?
Adding these fields sould be a distinct PR from the removals.
172357a
to
445a40e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 25 of 28 files reviewed, 1 unresolved discussion (waiting on @asmaastarkware and @matan-starkware)
crates/starknet_consensus/src/config.rs
line 36 at r3 (raw file):
Previously, matan-starkware wrote…
Adding these fields sould be a distinct PR from the removals.
I split it into a separate PR.
445a40e
to
edf2e86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 10 files at r1, 4 of 27 files at r2, 6 of 6 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 17 of 18 files at r3.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
Remove some fields that were on ConsensusConfig that were no longer needed.