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

superchain: beta feature flag for overriding chain-config with superchain-registry #148

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

protolambda
Copy link
Collaborator

Description

Adds chain-config override functionality, to upgrade existing chain configs (in DB, from previous runs) with the chain config as defined in the superchain-registry.
This is optional, and behind a beta feature-flag for rollout: --beta.rollup.superchain-upgrades

This also fixes some formatting in the genesis config for CI, which appeared to be formatted incorrectly due to prior merges.

Tests

Test that with overrides.ApplySuperchainUpgrades the superchain-registry chain-configuration is applied to the local chain configuration.

Metadata

Fix https://github.com/ethereum-optimism/client-pod/issues/73

core/genesis.go Show resolved Hide resolved
core/superchain_test.go Show resolved Hide resolved
@sebastianst sebastianst merged commit 1296a2c into optimism Oct 4, 2023
1 check passed
@sebastianst sebastianst deleted the chain-config-db branch October 4, 2023 16:30
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.

2 participants