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 EIP-7251 to Prague #532

Merged
merged 3 commits into from
Apr 12, 2024
Merged

Add EIP-7251 to Prague #532

merged 3 commits into from
Apr 12, 2024

Conversation

ensi321
Copy link
Contributor

@ensi321 ensi321 commented Apr 1, 2024

Since EIP-7251 is included into Pectra fork. We should consider including it in the Engine API spec.

One of the features of EIP-7251 is to integrate EIP-7002 to support execution layer triggerable partial withdrawals via ExitV1.

This PR adds amount to ExitV1 such that it supports partial withdrawals on top of full exits.

A point of discussion is the use of word exit. Originally EIP-7002 only considers full withdrawals (exits). With the newly added responsibility, one may consider renaming exit to executionLayerWithdraw for more precise description and to be distinguishable from the current withdrawal mechanism (consensus layer triggered).

@mkalinin
Copy link
Contributor

mkalinin commented Apr 1, 2024

Looks good to me! 👍 I’d like to see the corresponding change to the EIP-7002 in the first place, or at least a PR with the change

@lightclient
Copy link
Member

Here is the PR to the EIP: ethereum/EIPs#8406

src/engine/prague.md Outdated Show resolved Hide resolved
Copy link
Member

@lightclient lightclient left a comment

Choose a reason for hiding this comment

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

I updated amount to a QUANTITY value. Otherwise, LGTM.

Copy link
Contributor

@mkalinin mkalinin left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you!

@mkalinin mkalinin merged commit e872756 into ethereum:main Apr 12, 2024
3 checks passed
@mkalinin
Copy link
Contributor

One thing that we’ll have to do is to rename ExitV1 to SomethingV1 if there is a decision to do the renaming in the EIP. I didn't want this PR to be held by the naming issue — can do the renaming separately

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.

3 participants