Skip to content
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

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

ralexstokes
Copy link
Member

`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.
Copy link

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

Copy link
Member Author

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

specs/deneb/builder.md Outdated Show resolved Hide resolved
assert proposer_payment == bid_value
```

`verify_bid_value` should execute completely, noting that assertion failures are errors.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these be bullets?

Copy link
Member Author

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

ralexstokes and others added 2 commits February 28, 2024 10:20
@ralexstokes ralexstokes merged commit 982af90 into ethereum:main Mar 8, 2024
3 checks passed
@ralexstokes ralexstokes deleted the withdrawals-block-scoring branch March 8, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants