-
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): add height and round parameters to ConsensusConfig #3928
chore(consensus): add height and round parameters to ConsensusConfig #3928
Conversation
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: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @asmaastarkware and @guy-starkware)
crates/starknet_consensus/src/config.rs
line 36 at r1 (raw file):
pub future_height_limit: u32, /// How many rounds in the future should we cache. pub future_round_limit: u32,
future_round_limit - should be for the current round.
I think we should also add future_height_round_limit, and default to 1.
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: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @asmaastarkware and @guy-starkware)
crates/starknet_consensus/src/config.rs
line 36 at r1 (raw file):
Previously, matan-starkware wrote…
future_round_limit - should be for the current round.
I think we should also add future_height_round_limit, and default to 1.
future_height_round_limit = the number of rounds to cache to for future heights
445a40e
to
edf2e86
Compare
3c5e48c
to
53a727f
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: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @asmaastarkware and @matan-starkware)
crates/starknet_consensus/src/config.rs
line 36 at r1 (raw file):
Previously, matan-starkware wrote…
future_height_round_limit = the number of rounds to cache to for future heights
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 4 of 4 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @asmaastarkware)
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 all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
Merge activity
|
53a727f
to
b38e144
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 3 of 3 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
No description provided.