-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add new rules on block scoring excluding withdrawals #99
Add new rules on block scoring excluding withdrawals #99
Conversation
`pre_state_balance` is the ether amount at the `fee_recipient`’s address in the execution state before applying | ||
the `execution_payload` and the `post_state_balance` is the same data after applying the `execution_payload`. | ||
|
||
Any block submissions where `verify_bid_value` fails should be considered invalid and **MUST** not be served to proposers requesting bids. |
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.
is this verify_bid_value
executed in consensus layer or execution layer? consensus layer has no information about fee_recipient
balance at pre_execution_state and post_execution_state
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.
relays would verify this value as part of confirming execution validity
they have the withdrawals from the CL and can check the balance against the EL
assert proposer_payment == bid_value | ||
``` | ||
|
||
`verify_bid_value` should execute completely, noting that assertion failures are errors. |
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.
should these be bullets?
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.
I think its fine without
Co-authored-by: Jacob Kaufmann <[email protected]>
Co-authored-by: Chris Hager <[email protected]>
Implements mev-boost improvement proposal #0.