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

Integrate EIP-7742 into payload building #13022

Open
onbjerg opened this issue Nov 29, 2024 · 0 comments · May be fixed by #12957
Open

Integrate EIP-7742 into payload building #13022

onbjerg opened this issue Nov 29, 2024 · 0 comments · May be fixed by #12957
Assignees
Labels
C-enhancement New feature or request E-prague Related to the prague network upgrade

Comments

@onbjerg
Copy link
Member

onbjerg commented Nov 29, 2024

Describe the feature

EIP-7742 moves blob target/max outside of EL and into CL only. These parameters are then posted over engine API. For historical sync, these fields are present in the header.

The target/max should be propagated from the engine API and into payload building. Any reference to the hardcoded 3 target should be replaced with the new dynamic value, and any reference to the 6 max should be replaced with a new dynamic value.

See https://eips.ethereum.org/EIPS/eip-7742, specifically

Upon activating this EIP (i.e. before processing any transactions), the verification of the blob maximum as given in EIP-4844 can be skipped. Concretely, this means any logic relating to MAX_BLOB_GAS_PER_BLOCK as given in EIP-4844 can be deprecated. Additionally, any reference to TARGET_BLOB_GAS_PER_BLOCK from EIP-4844 can be derived by taking the target_blobs_per_block from the CL and multiplying by GAS_PER_BLOB as given in EIP-4844.

It is important that this does not affect Optimism (and Odyssey), namely the fields should not be required to be in the block header even if Prague is activated if we are running Optimism.

Additional context

No response

@onbjerg onbjerg added C-enhancement New feature or request E-prague Related to the prague network upgrade labels Nov 29, 2024
@onbjerg onbjerg linked a pull request Nov 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request E-prague Related to the prague network upgrade
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants