-
Notifications
You must be signed in to change notification settings - Fork 377
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 withdrawal operations #195
Add withdrawal operations #195
Conversation
da9df27
to
6a785aa
Compare
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 reasonable. My main comment is to consider where this should live and how it be surfaced in the specs.
We also probably need a "meta" section mapping forks to a set of methods. That is, Bellatrix uses all V1, whereas Capella uses a mix.
I would definitely refrain from merging until the Merge dust is fully settled.
great work!
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 in general to me.
Good point. If kept in the same file it could become a mess after a few forks that are affecting Engine API. Probably it worth having a file per fork as we used to have in consensus specs. In this case we may want to rename |
6a785aa
to
fa90a90
Compare
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.
Added a note about how to deal with null
vs. []
values for withdrawals
field.
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
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.
👍
This PR partially implements [EIP-4895](https://eips.ethereum.org/EIPS/eip-4895): Beacon chain push withdrawals as operations. The new Engine API methods (ethereum/execution-apis#195) are implemented. _Body downloader and saving withdrawals into DB are not implemented yet!_
Adds support for withdrawals.
Part of the validator withdrawals feature tracking here: https://notes.ethereum.org/@ralexstokes/Skp1mPSb9