-
Notifications
You must be signed in to change notification settings - Fork 1k
Safe non-finalized checkpoint sync #8382
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
Open
dapplion
wants to merge
55
commits into
sigp:unstable
Choose a base branch
from
dapplion:fork-choice-optimistic-mode
base: unstable
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 all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
1b90859
Force consumers to decide what finality checkpoints they want to read
dapplion a2c5b4b
Update sync to handle local finality
dapplion b27e4d3
Hook manual finalization into fork-choice
dapplion f91a9c2
Set ProtoNode checkpoints to on_chain checkpoints
dapplion ff431ac
Initialize first node with correct root
dapplion df7c477
Lint tests
dapplion 1821540
Fix tests
dapplion 511e705
Fix tests
dapplion 6dfee65
Merge remote-tracking branch 'sigp/unstable' into fork-choice-optimis…
dapplion 2b907a6
Fix revert fc tests
dapplion 3372df2
Fix fork-choice tests
dapplion 86508ca
lint
dapplion 3ca4f4b
Add ws non fin test
dapplion c5507d0
Fix prune test
dapplion a563944
Complete non fin ws test
dapplion 00a87df
Add CLI tests
dapplion dec34a4
Sort deps
dapplion 71271ca
Fix tests by removing dodgy skip
michaelsproul d8536d4
Merge remote-tracking branch 'sigp/unstable' into fork-choice-optimis…
dapplion 309af3b
Fix tests
dapplion a9e0b19
Extend ws tests
dapplion 066c5b6
lint comment
dapplion b6ffe8a
Fix pseudo migration tests
dapplion 5c643ee
Merge remote-tracking branch 'sigp/unstable' into fork-choice-optimis…
dapplion c71fc97
Don't update justified balances on set irreversible checkpoint
dapplion da83332
Remove unnecessary state_root checks
dapplion 1877d64
Check that irreversible checkpoint is of a known block and well formed
dapplion 586f232
Recompute head after set manual finalization
dapplion 381c8a3
Remove irreversible slot function
dapplion 7c6461d
Compute execution_hash from store also
dapplion ac76022
Common logic for forkchoice udpate params
dapplion 5083771
Merge remote-tracking branch 'sigp/unstable' into fork-choice-optimis…
dapplion f3f974b
Lint full
dapplion aeb3a80
Improve manual finalization API
dapplion abfc021
Merge remote-tracking branch 'sigp/unstable' into fork-choice-optimis…
dapplion 9b84d6a
implement v29 migration
dapplion 9c80fb3
Merge branch 'unstable' into fork-choice-optimistic-mode
michaelsproul d727cfc
Delete test about merge
dapplion e78b689
Reduce diff
dapplion c87d44f
Lint tests
dapplion 0adb2d0
merge unstable
dapplion 841046a
Merge branch 'unstable' into fork-choice-optimistic-mode
dapplion 8c89289
fix typo and document set_local_irreversible_checkpoint
dapplion 94d58a3
comment why update_checkpoints compares against .local()
dapplion f4ea770
Remove dead manual finalization migrator code
dapplion 002f5ad
Add regression test for irreversible checkpoint rollback
dapplion 002497d
Run manual finalization migration in foreground
dapplion 5865e33
Fix clippy collapsible-if in migrator
dapplion a42fd44
Bypass migration throttling for manual foreground finalization
dapplion 4f8218f
Use local irreversible epoch for range sync pruning
dapplion 927ed79
Document foreground migration and refine manual finalization API errors
dapplion 5936fad
Refactor fork choice init for finalized vs non-finalized checkpoints
dapplion f9e6b7d
Box non-finalized fork choice init fields for clippy
dapplion 968b0fd
Box fork choice init variants and pass init enum through WS path
dapplion 7e1740e
Fix moved wss_block in fork choice init tests
dapplion 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.
Please read the PR body description before the diff :)