-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Post Merge checkpoint sync #4735
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
Closed
Closed
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
e28c563
Add validations of new experimental flag
gfukushima 7ca71f9
Add check to call MergeController without the using the TransitionCon…
gfukushima d926c17
Use new flag to skip latestValidAncestorDescendsFromTerminal check
gfukushima 737af27
Add experimental flag
gfukushima 5a6afd4
Add parser
gfukushima c00c0c4
Add isNearHeadCheckpointSync method to interface
gfukushima c17c354
Add isNearHeadCheckpointSync implementations
gfukushima d74f9cb
Add attribute for the new flag
gfukushima cd8bbd3
Pass value to MergeContext
gfukushima a8026e1
Add unit tests
gfukushima 0038b37
Add resource for unit test
gfukushima 11d73af
Add check for optional
gfukushima ed0c55a
Spotless apply
gfukushima 428f2ef
Merge branch 'near-head-checkpoint-sync' into main-gfukushima
gfukushima 216d3bd
Use Default
gfukushima 6d514b9
Add new field to be ignored
gfukushima 6ee5296
Fix params order
gfukushima ee19889
Change validation order
gfukushima 6eec853
Refactor validation
gfukushima 2ff6786
Spotless
gfukushima 4b9028d
Add extra unit test
gfukushima afeda6c
Rename variable
gfukushima af7f0d5
Remove parser
gfukushima d207c47
Remove parser
gfukushima 7b2e85b
Merge branch 'main' into nearhead-checkpoint-sync
gfukushima 6b454ba
Change validation to use total difficulty
gfukushima 3a00e41
Merge remote-tracking branch 'origin/nearhead-checkpoint-sync' into n…
gfukushima b11ab44
Change validation to use total difficulty
gfukushima d7eb1c2
Merge branch 'main' into nearhead-checkpoint-sync
gfukushima cb5ebb7
Merge branch 'main' into nearhead-checkpoint-sync
gfukushima cebc22b
Add validation for checkpoint config
gfukushima f9b7d95
Merge remote-tracking branch 'origin/nearhead-checkpoint-sync' into n…
gfukushima 05e9c30
Merge branch 'main' into nearhead-checkpoint-sync
gfukushima 43ac009
Refactor code to reflect current state of the feature.
gfukushima 0937714
Add unit test
gfukushima 19e2a15
Merge remote-tracking branch 'origin/nearhead-checkpoint-sync' into n…
gfukushima 43ae7b3
Merge branch 'main_hyperledger' into nearhead-checkpoint-sync
gfukushima 54f603a
spotless
gfukushima 288ed54
Merge remote-tracking branch 'origin/nearhead-checkpoint-sync' into n…
gfukushima 2979bb0
Fix logic for isSyncing method covering possible NPE
gfukushima 34b3f90
Add cover for TTD = TD of the checkpoint block (merge at genesis)
gfukushima 4b26c76
Remove field from test
gfukushima f824ff4
Fix unit test
gfukushima d2720e8
Add build method and set syncState
gfukushima 6cad478
Fix possible NUll Reference Exception and unit test to validate that
gfukushima 42e5f4c
Add edge case for merge at genesis and unit tests
gfukushima 32a047c
Merge branch 'main_hyperledger' into nearhead-checkpoint-sync
gfukushima cbd9d1a
Merge main into branch
gfukushima 3ae9e25
Add accessList field to Transaction Call Object (#4802)
Gabriel-Trintinalia 406a069
Docker release task for latest tags (#4810)
jframe 8521822
Fix docker release workflow login (#4826)
jframe bd467a1
Add download sha sums for 22.10.3 release (#4827)
jframe 928f008
Pass syncMode to BesuController.Builder to allow checkpointsync PoS
gfukushima 6810c3c
Fix difficulty of invalid genesis
gfukushima 18d29ca
Add static method
gfukushima 34f0b9d
Pass syncMode to BesuController builder
gfukushima 8c7411b
spotless
gfukushima 3ccfec0
Merge remote-tracking branch 'hyperledge/main'
gfukushima 7b56639
Merge branch 'main' into nearhead-checkpoint-sync
gfukushima 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 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
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
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
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.
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 a special case here as well for genesisTD = 0 = TTD?
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.
Have you successfully tested a post-merge genesis with this code?