-
-
Notifications
You must be signed in to change notification settings - Fork 464
feat: enhance processChainSegment for ePBS #9103
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
27 commits
Select commit
Hold shift + click to select a range
4dede72
feat: add envelopes to BeaconChain.processChainSegments()
twoeths d1d7f39
feat: implement gloas assertLinearChainSegment()
twoeths 71c386c
feat: enhance verifyBlocksExecutionPayload() for gloas
twoeths 8c0f163
feat: enhance verifyBlocksStateTransitionOnly() for gloas
twoeths 486f43b
feat: enhance verifyBlocksSignatures() for gloas
twoeths 46f69a3
feat: enhance importBlock() for gloas
twoeths 1dbc3ef
chore: add TODO GLOAS comments
twoeths af63e3f
fix: use PayloadSeparated for gloas forkchoice.onBlock()
twoeths dee75e5
feat: populate cp state cache
twoeths 63bf3c0
chore: type safe for verifyBlocksStateTransitionOnly()
twoeths 33d7e4c
fix: handle payload exists in seen cache
twoeths 1a79fc5
fix: handle gloas block in getSegmentErrorResponse()
twoeths 86d1d4b
fix: lint
twoeths 6ee49c2
fix: correct block hash in getSegmentErrorResponse()
twoeths 8d2a071
fix: enhance FullyVerifiedBlock to store payload envelope
twoeths 42d3079
refactor: processChainSegment to accept PayloadEnvelopeInput
twoeths ebb8526
fix: reuse importExecutionPayload()
twoeths 957e155
Merge remote-tracking branch 'origin/unstable' into te/gloas_process_…
twoeths af5ab38
fix: processChainSegment() api in Sync
twoeths 7243917
fix: do not trigger getBlobs() in improtBlock() for range sync
twoeths dc84a35
Merge remote-tracking branch 'origin/unstable' into te/gloas_process_…
twoeths 741f4a4
fix: relax assertLinearChainSegment, log orphaned envelope
twoeths a0f8904
Resolve merge conflicts
nflaig f58ab86
Merge remote-tracking branch 'origin/unstable' into te/gloas_process_…
twoeths 03a8917
fix: add INVALID_PAYLOAD_STATE_ROOT
twoeths 369cbd2
Merge remote-tracking branch 'origin/unstable' into te/gloas_process_…
twoeths 717d3cc
chore: add comments
twoeths 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
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.
In range sync case calling
recomputeForkChoiceHeadhere makes sense. But how about gossip case? Can we not rely onprepareNextSlotto do the recomputation?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.
good call, I'm in favor of doing the same to prepareNextSlot in #9164
it's not a concern for this PR anyway, I'd leave a
TODO GLOASfor it instead