-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat(starknet_batcher): validate height matches storage on decision reached #2750
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
delete this. Code quote: // TODO(Arni): Get the height from the proposal output or from the proposal id. Pass it to
// commit proposal and block. set the variable as non-optional. |
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, 2 unresolved discussions (waiting on @alonh5)
crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs
line 297 at r1 (raw file):
// TODO(matan): Broadcast the decision to the network. let height = BlockNumber(height);
Suggestion:
let height = BlockNumber(precommits[0].height);
info!("Finished consensus for height: {height}. Agreed on block: {:#064x}", block.0);
// TODO(matan): Broadcast the decision to the network.
b294b35
to
41b5866
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, all discussions resolved (waiting on @alonh5)
crates/starknet_batcher/src/batcher.rs
line 386 at r1 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
delete this.
Done.
crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs
line 297 at r1 (raw file):
// TODO(matan): Broadcast the decision to the network. let height = BlockNumber(height);
Done.
825dff3
to
ef4ff01
Compare
41b5866
to
ef88944
Compare
Can be closed for now. Now that we get the active height from self. |
No description provided.