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

Update EIP-7002: change request to flat encoding #8855

Merged
merged 4 commits into from
Sep 26, 2024

Conversation

fjl
Copy link
Contributor

@fjl fjl commented Sep 4, 2024

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: lightclient/sys-asm#20

@fjl fjl requested a review from eth-bot as a code owner September 4, 2024 10:57
@github-actions github-actions bot added c-update Modifies an existing proposal s-review This EIP is in Review t-core labels Sep 4, 2024
@eth-bot
Copy link
Collaborator

eth-bot commented Sep 4, 2024

File EIPS/eip-7002.md

Requires 1 more reviewers from @adietrichs, @djrtwo, @hwwhww, @lightclient, @mkalinin

@eth-bot eth-bot added the a-review Waiting on author to review label Sep 4, 2024
@eth-bot eth-bot changed the title EIP-7002: change request to flat encoding Update EIP-7002: change request to flat encoding Sep 4, 2024
@lightclient
Copy link
Member

Relies on #8854

@fjl
Copy link
Contributor Author

fjl commented Sep 4, 2024

It doesn't really rely on it, but these changes are meant to go together....

EIPS/eip-7002.md Outdated Show resolved Hide resolved
fjl and others added 3 commits September 25, 2024 20:47
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.
@lightclient lightclient merged commit a23be81 into ethereum:master Sep 26, 2024
9 checks passed
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
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-review Waiting on author to review c-update Modifies an existing proposal s-review This EIP is in Review t-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants