-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
fix: update voluntary exit block inclusion filter #6278
Conversation
Performance Report✔️ no performance regression detected 🚀🚀 Significant benchmark improvement detected
Full benchmark results
|
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.
Looks good to me, confirmed that hive tests are passing using this branch (#6276 (comment))
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.
lgtm
🎉 This PR is included in v1.14.0 🎉 |
* Fix voluntary exit block inclusion filter * lint --------- Co-authored-by: harkamal <gajinder@g11.in>
Motivation
The logic to decide when to include exists currently is:
this is not correct:
Voluntary exists before deneb
Due to how get domain is calculated a voluntary exit signed at a future epoch at fork version N can only be included in a state where fork version N is stored in the
previous_version
orcurrent_version
. Else the signature verification will fail. So a block producer can include exists with valid signatures (with full knowledge of all fork versions) in a block at the same of next fork as the voluntary_exit.epochhttps://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#voluntary-exits
Voluntary exists post deneb
With EIP-7044: Perpetually Valid Signed Voluntary Exits https://eips.ethereum.org/EIPS/eip-7044 exists will be valid for all future forks
Description
Fix inclusion rules to match the description above:
Closes #6276
^ I have not tested this PR actually allows hive tests to pass