Repository navigation
fix(sequencer): allow blocksync to complete successfully - #675
Merged
Merged
Conversation
SuperFluffy
approved these changes
Jan 8, 2024
SuperFluffy
left a comment
Contributor
There was a problem hiding this comment.
Some suggestions for code cleanup
noot
reviewed
Jan 8, 2024
noot
reviewed
Jan 8, 2024
noot
approved these changes
Jan 8, 2024
noot
left a comment
Contributor
There was a problem hiding this comment.
approving since there are only minor comments!
joroshiba
force-pushed
the
joroshiba/blocksync-fix
branch
from
January 9, 2024 19:33
60e1bb5 to
1995d9c
Compare
noot
reviewed
Jan 10, 2024
| Self { | ||
| state, | ||
| is_proposer: false, | ||
| executed_proposal_hash: Hash::default(), |
Contributor
There was a problem hiding this comment.
is this the zero hash? or None?
Member
Author
There was a problem hiding this comment.
It is None, and it is also empty
noot
reviewed
Jan 10, 2024
noot
reviewed
Jan 10, 2024
noot
reviewed
Jan 10, 2024
noot
reviewed
Jan 10, 2024
noot
approved these changes
Jan 10, 2024
noot
left a comment
Contributor
There was a problem hiding this comment.
nice, i think the logic looks good, only smaller comments!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Allows
deliver_txto execute txs when the full block has not previously been executed during a proposalBackground
During blocksync proposals are not received and txs will not have already been executed. We need to allow for a node to have either missed the proposal, and still execute the block or in basic operation sync.
Changes