-
Notifications
You must be signed in to change notification settings - Fork 554
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
feat(op): Ecotone hardfork #1009
Conversation
d1a2083
to
b49f313
Compare
99e71d2
to
3e1f7a4
Compare
d4ac712
to
8e6c901
Compare
8e6c901
to
5221714
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clabby is context.evm.env.cfg.optimism
only there to switch between mainnet and optimism transaction so both of them can be used? If this is the case, i want to remove it as handler_register
in EvmBuilder allows having both optimism and mainnet together.
@rakita Yep! The idea was to have runtime configuration for the optimism features, if This can be abstracted into the handler instead as well, but the ability to switch between the optimism and default execution at runtime is still desired. |
Yeah, this can be abstracted with handler register! Good to know, will remove the flag. Optimism feature is still needed for additional field (l1block) and for additional SpecIds. But will see to make those generic in future. |
Overview
Adds definitions and support for the upcoming Ecotone hardfork on Optimism.
Details
The
Ecotone
hardfork is activated alongsideCancun
, with few execution layer modifications of our own. The rollup will now be using 4844 DA, which involves some changes to the L1 fee calculation.Ecotone
L1 fee specifications: https://github.com/ethereum-optimism/specs/blob/main/specs/exec-engine.md#ecotone-l1-cost-fee-changes-eip-4844-daEcotone
L1 fee reference implementation: https://github.com/ethereum-optimism/op-geth/blob/a4e85ec465e2de3f962d757d8f9b561b5461f861/core/types/rollup_cost.go