ethereum-optimism / ethereum-optimism/optimism

op-deployer: support multiple deployments to same, non-standard superchain

Open
#15,087 0 comments 1 reaction 0 assignees View on GitHub
A-op-deployer M-needs-triage
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 38m
Merged PRs (30d)
164

Description

Currently when using op-deployer to deploy a new set of OpChain contracts to an existing superchain, you need to specify superchain roles that exist in the superchain-registry and match a given superchain.

For devnets, we need to be able to run op-deployer multiple times (to create different interop sets), and have it create OpChains within the same superchain. For example:
1. Deploy chains A, B as interop set 1
2. Deploy chain C as a standalone chain (i.e. no interop set)
3. Deploy chain D, E as interop set 2 (independent of chains A-C)

We should update the intent struct so that you can specify superchain-level contract addresses so that the OpChains specified in the intent will join that existing superchain (without needing to lookup any standard addresses in the superchain-registry)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.