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

Holocene: handle Holocene l1 attributes in l1 data fee computation #384

Merged

Conversation

roberto-bayardo
Copy link
Contributor

@roberto-bayardo roberto-bayardo commented Sep 22, 2024

Description

Holocene introduces a new L1 attributes format which needs to be properly parsed in the L1 cost function calculation, even though in this part of the code, the new attributes do not affect the computation.

Tests

Added unit tests to confirm Holocene-style l1 attributes are handled properly after the Holocene upgrade within l1 data fee related code, and also that Ecotone-style attributes remain handled without error to support the fact that the first Holocene block will have the older style L1 attributes.

Metatdata

ethereum-optimism/specs#340

@roberto-bayardo roberto-bayardo changed the title handle Holocene l1 attributes in l1 data fee computation Holocene: handle Holocene l1 attributes in l1 data fee computation Sep 22, 2024
@roberto-bayardo roberto-bayardo marked this pull request as ready for review September 22, 2024 18:44
@roberto-bayardo roberto-bayardo requested a review from a team as a code owner September 22, 2024 18:44
core/types/rollup_cost.go Outdated Show resolved Hide resolved
core/types/rollup_cost.go Outdated Show resolved Hide resolved
@sebastianst sebastianst merged commit c283254 into ethereum-optimism:optimism Sep 30, 2024
4 of 5 checks passed
@roberto-bayardo roberto-bayardo deleted the holocene-l1-attributes branch September 30, 2024 15:23
roberto-bayardo added a commit to roberto-bayardo/op-geth that referenced this pull request Oct 1, 2024
sebastianst pushed a commit that referenced this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants