Skip to content

op-service, op-deployer: Support marshaling systemconfig in pre-Holocene format#12619

Merged
mslipper merged 1 commit intodevelopfrom
bugfix/1559-params-2
Oct 24, 2024
Merged

op-service, op-deployer: Support marshaling systemconfig in pre-Holocene format#12619
mslipper merged 1 commit intodevelopfrom
bugfix/1559-params-2

Conversation

@mslipper
Copy link
Copy Markdown
Contributor

op-deployer generates rollup configs, and those rollup configs are currently broken for older versions of op-node that don't support reading the EIP1559Params field in the SystemConfig. This PR adds a meta field within the SystemConfig that, when enabled, marshals the SystemConfig without the EIP1559Params field. This solution is backwards-compatible and minimally invasive, requiring no changes to the consensus-critical code that consumes the SystemConfig elsewhere.

Closes #12615.

…ene format

op-deployer generates rollup configs, and those rollup configs are currently broken for older versions of op-node that don't support reading the EIP1559Params field in the SystemConfig. This PR adds a meta field within the SystemConfig that, when enabled, marshals the SystemConfig without the EIP1559Params field. This solution is backwards-compatible and minimally invasive, requiring no changes to the consensus-critical code that consumes the SystemConfig elsewhere.

Closes #12615.
@mslipper mslipper force-pushed the bugfix/1559-params-2 branch from d214b78 to 3a90479 Compare October 24, 2024 06:35
Copy link
Copy Markdown
Member

@sebastianst sebastianst left a comment

Choose a reason for hiding this comment

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

LGTM, one optional nit

Comment thread op-service/eth/types.go
@mslipper mslipper enabled auto-merge October 24, 2024 14:10
@mslipper mslipper added this pull request to the merge queue Oct 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 24, 2024
@mslipper mslipper added this pull request to the merge queue Oct 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 24, 2024
@mslipper mslipper added this pull request to the merge queue Oct 24, 2024
Merged via the queue into develop with commit d73a4bc Oct 24, 2024
@mslipper mslipper deleted the bugfix/1559-params-2 branch October 24, 2024 14:51
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.

op-deployer adds eip1559Params to rollup.config for pre-Holocene forks

2 participants