-
Notifications
You must be signed in to change notification settings - Fork 197
feat(holocene): Simplify eip1559Params
#404
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
Conversation
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4c10e4c to
6c74c7e
Compare
a3aea03 to
c0f02e4
Compare
eip1559Paramseip1559Params
|
Although I think this is sound, I'm a bit concerned of using the nonce in case we need it down the road for something. Placing these in the L1 info feels more scalable to me and is a more consistent way of introducing modifications, though there is the aforementioned tradeoff that the basefee computation becomes invasive. |
|
We should make sure that there is a getter for EIP1559 params on the |
## Overview Removes the `Holocene` variant of the L1 info transaction. The specification of the dynamic EIP-1559 parameters has changed to put this feature in the `PayloadAttributes` instead. ethereum-optimism/specs#404
…utes` (#138) ## Overview Adds the `eip1559Params` field to the `OptimismPayloadAttributes, per ethereum-optimism/specs#404
## Overview Removes the `Holocene` variant of the L1 info transaction. The specification of the dynamic EIP-1559 parameters has changed to put this feature in the `PayloadAttributes` instead. ethereum-optimism/specs#404
…utes` (#138) ## Overview Adds the `eip1559Params` field to the `OptimismPayloadAttributes, per ethereum-optimism/specs#404
…p-alloy#137) ## Overview Removes the `Holocene` variant of the L1 info transaction. The specification of the dynamic EIP-1559 parameters has changed to put this feature in the `PayloadAttributes` instead. ethereum-optimism/specs#404
…utes` (alloy-rs/op-alloy#138) ## Overview Adds the `eip1559Params` field to the `OptimismPayloadAttributes, per ethereum-optimism/specs#404

Overview
Simplifies the dynamic EIP-1559 params feature of Holocene by including the parameters within the
PayloadAttributesV3and the blockHeader.Rationale
Currently, the EIP-1559 parameters are included within the
L1Blockcontract. However, unlike other variables within the L1 info transaction:reth, for example, the base fee computation function is within a lower-level config type, without access to the state or transactions. Ultimately we lose database access several layers of abstraction higher up, warranting a refactor to make this change work. Ingeth, it's similar, but the change is a bit less invasive higher up with only 2 layers to pass the state handle through.There's precedent for
SystemConfigvariables that are needed at the beginning of a block, or that don't update frequently, to belong within thePayloadAttributes(Thegas_limit). The block builder additionally having access to control the EIP-1559 parameters is constrained by consensus rule, and similarly to thegasLimit, is specified to be referenced from theSystemConfigin the derivation pipeline's payload builder. This change would simplify this feature's implementation within execution clients and save us from needlessly posting the parameters in the L1 info transaction every 2 seconds as such.Why in the block header?
https://github.com/ethereum-optimism/specs/pull/404/files#diff-b93100978f12975e6b4ee660c7362c71d4f2a416ef7c9f0e76e17ca0062842efR144-R152