-
Notifications
You must be signed in to change notification settings - Fork 784
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
[Merged by Bors] - Retrospective invalidation of exec. payloads for opt. sync #2837
Closed
Closed
Changes from all commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
074c5eb
Add invalid propagation
paulhauner a75d7b8
Adjust deltas for invalid blocks
paulhauner 5add013
Avoid invalid blocks when finding the head
paulhauner 4a22482
Invalidate descendants of invalid blocks too
paulhauner bf8bc8c
Pass latest_valid_hash from API
paulhauner e372e06
Add invalidation of payloads
paulhauner 0922b17
Pass root to execute_payload
paulhauner 1fe6376
Add FixedPayloadResponse
paulhauner 9b28389
Add non-passing invalid payload tests
paulhauner 06eebc2
Fix failing test
paulhauner e32d95e
Add simple invalidation test
paulhauner 9aad031
Fix errors after rebase
paulhauner 1e86e22
Unify invalid payload processing
paulhauner d4f67a8
Tidy, improve tests
paulhauner c98caad
Add test for shutdown
paulhauner 6cd0ac1
Add test for pre-finalized invalid
paulhauner b6453f7
Add another test
paulhauner a88815f
Add handling for unknown latest valid hash
paulhauner 679b8be
Fix failing test, tidy
paulhauner da4a54f
Fix compile error in tests
paulhauner 4de63cb
Update Execution API to v1.0.0-alpha.6
ethDreamer e56dee8
Add test, address bug
paulhauner 353dd1f
Remove dbgs
paulhauner 4bc0c20
Fix failing tests by null-ing best child/desc
paulhauner a6d9ae4
Add another test
paulhauner b3d033d
Address clippy lint
paulhauner bcd74b8
Remove panic from beacon chain
paulhauner f7401c6
Handle errors on newPayload
paulhauner a2f9fba
Clean commented out code
paulhauner e9ece6c
Start adding merge_sim
paulhauner e4cb559
Fix pattern match on exec layer
paulhauner 717d5f1
Rename merge_sim to execution_engine_integration
paulhauner 09d02d0
Tidy, improve testing
paulhauner e2a09cc
Add comments, tidy
paulhauner 9e36525
Add to Makefile and tests
paulhauner 8416d59
Add to github actions
paulhauner 6756023
Merge branch 'unstable' into exec-alpha6
paulhauner 2094c7d
Remove github actions changes
paulhauner b7fa258
Add exec tests to github actions again
paulhauner 6d38c37
Use serde_json instead of json
paulhauner 0e5d072
Switch away from binary, suppress logs
paulhauner 51b90d8
Update Makefile for tests
paulhauner 16d9219
Tidy
paulhauner b3bac84
Add `unused_port` crate
paulhauner 26809f8
Fix warnings and compile errors
paulhauner 3676bc5
Merge branch 'exec-alpha6' into opt-sync
paulhauner 6eb5b2b
Unify payload status parsing
paulhauner 246a1b6
Use `PayloadStatus` in beacon chain
paulhauner 2145591
Fix test compile errors
paulhauner 09f4996
Tidy comments around fork choice response
paulhauner 5e054ba
Don't panic in drop
paulhauner b461bf9
Partially add invalidation call to fork choice
paulhauner 22439c2
Simplify forkchoice update method on beacon chain
paulhauner dd57c31
Add invalidation to fork choice
paulhauner e38e819
Bump `cc` version
paulhauner 24eb69a
Merge branch 'exec-alpha6' into opt-sync
paulhauner 3059f22
Update geth responses
paulhauner 5c543a0
Use windows-2019 for CI
paulhauner d86bbd3
Use windows-2019 for CI
paulhauner d924c3d
Merge branch 'exec-alpha6' into opt-sync
paulhauner bbdec5c
Skip windows tests for exec payload tests
paulhauner 903d03e
Update fork choice response
paulhauner ae1d54e
Handle payload import whilst syncing in tests
paulhauner 24e1d5d
Log crit when a payload id can't be generated
paulhauner 1b76147
Remove unused field
paulhauner 0dce21f
Merge branch 'exec-alpha6' into opt-sync
paulhauner d54aa7d
Fix the mock EL FC response
paulhauner 41b6ff5
Merge branch 'unstable' into opt-sync
paulhauner b8964c1
Update comment
paulhauner 3730ba2
Merge branch 'unstable' into opt-sync
paulhauner 3bdf1cc
Tidy, check justified epoch
paulhauner eb23e17
Add ExecutionBlockHash newtype
paulhauner a7cd957
Fix misc test compile issues
paulhauner d625860
Ensure default payload exec status
paulhauner 6dfabb0
Add mock EL to store tests
paulhauner 0a152cf
Fix failing test
paulhauner be3e2e3
Un-comment release-only flag in test
paulhauner fe35997
Tidy, add comment
paulhauner 031d71f
Check for finalized desc
paulhauner a915ce6
Avoid reading finalized block from DB
paulhauner 0a77253
Remove todo about payload ids
paulhauner 6366e94
Get justified root atomically
paulhauner 70a10e1
Fix clippy lint
paulhauner d74b96c
Apply suggestions from code review
paulhauner 2ae6d78
Add merge to makefile
paulhauner 63c3ff0
Merge branch 'unstable' into opt-sync
paulhauner 2562fb5
Merge branch 'unstable' into opt-sync
paulhauner 1ed7431
Add just/fin block getters to fork choice
paulhauner 43e7b59
Add execution block hashes to errors
paulhauner c39a1d9
Update beacon_node/beacon_chain/src/execution_payload.rs
paulhauner 5142db0
Lower log level
paulhauner ae29684
Add test for just/fin block getter
paulhauner 7eed122
Log errors whilst processing payload status
paulhauner 8da2668
Remove unused struct
paulhauner c7d0c6c
Simplify best child/desc code
paulhauner 4e3a078
Adjust weights
paulhauner b3be437
Add error for irrelevant descendant
paulhauner e9905aa
Invalidate more payloads
paulhauner 031ab86
Update consensus/proto_array/src/proto_array.rs
paulhauner 6dee54c
Update fork choice docs
paulhauner 1ab1c43
Add execution_status FC tests
paulhauner 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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.
Maybe we want to include the
ExecutionBlockHash
in this error as well as theJustifiedPayloadInvalid
variant ? Should be available when each are thrown.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 idea, added in 1ed7431