-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Update EIP-7002: change request to flat encoding #8855
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
Merged
Conversation
This file contains hidden or 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
File
|
Relies on #8854 |
It doesn't really rely on it, but these changes are meant to go together.... |
Allzz77123
approved these changes
Sep 5, 2024
25 tasks
I am proposing to change the encoding of withdrawal requests to be exactly equal to how they are returned by the contract. The extra layer of RLP encoding is not necessary, and by removing it, we can avoid defining the structure of these requests in the execution layer client implementation.
df92a81
to
623f088
Compare
623f088
to
13f4320
Compare
pk910
added a commit
to ethpandaops/ethereum-genesis-generator
that referenced
this pull request
Sep 27, 2024
update eip7002 system contract as defined in: ethereum/EIPs#8855
12 tasks
somnathb1
added a commit
to erigontech/erigon
that referenced
this pull request
Oct 11, 2024
In summary, does away with a lot of earlier complexities related to parsing and encoding withdrawal requests. These are now just byte strings, essentially Refer to the following - ethereum/EIPs#8855 (flat requests format update for EIP-7002) - https://github.com/ethereum/EIPs/pull/8934/files#diff-70472fac1debb567783ce13873323261713f3ce488a26a5c3769a9193f4a7e27R596 (Address update) Needs interface update - erigontech/interfaces#234 (Tasks board - #12106)
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I am proposing to change the encoding of withdrawal requests to be exactly equal to how they are returned by the contract. The extra layer of RLP encoding is not necessary, and by removing it, we can avoid defining the structure of these requests in the execution layer client implementation.
To make the contract output valid SSZ for easy decoding by CL clients, we also need this PR: ethereum/sys-asm#20