-
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
Sequencer better DA fork handling & minor improvements #1718
Open
yaziciahmet
wants to merge
25
commits into
nightly
Choose a base branch
from
yaziciahmet/sequencer-better-l1-block-tracking
base: nightly
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f410c08
remove unnecesary to_vec
yaziciahmet 988147a
remove unnecessary match
yaziciahmet 7702f53
rustier way of error handling
yaziciahmet 1244194
rename var
yaziciahmet 53480f8
dont track l1 height separately
yaziciahmet 6c0760c
panic if da block sender channel is closed
yaziciahmet 0db5932
track and log last sent l1 height from da block monitor
yaziciahmet 51250c7
lint
yaziciahmet 1a5d0dd
get da block header as ref
yaziciahmet e6de8bd
remove ref
yaziciahmet 04f10e3
remove todo
yaziciahmet dbdc959
rename
yaziciahmet 4fd1f2d
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
yaziciahmet 6fb2887
remove warn log
yaziciahmet c42f5a0
set l1 data if not missed blocks
yaziciahmet 52fc96e
ensure no da forks on sequencer restart
yaziciahmet 7b37068
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
yaziciahmet fe98334
Check forks on da block monitor
yaziciahmet 32916d3
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
yaziciahmet b5d55ed
simplify assert messages
yaziciahmet 3efe45f
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
yaziciahmet 06aba79
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
yaziciahmet c499156
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
yaziciahmet b9c031a
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
jfldde faf935d
Merge branch 'nightly' into yaziciahmet/sequencer-better-l1-block-tra…
yaziciahmet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Oops, something went wrong.
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.
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.
Do we need to implement this for all other nodes? because they also follow the wrong fork, at which point, being at the wrong DA block might lead them to misbehave.
I am not totally sure, but this is something to check for.
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.
It seemed to me like there is nothing to do for other nodes for this PR specifically:
Remaining work seems to me to be blocked by rollback feat for our nodes. Once we have proper rollback functionality, we can detect forks in all types of nodes, rollback to the beginning of the fork, and continue happily ever after from that point on, and we won't need manual intervention at all.