ethereum-optimism / ethereum-optimism/optimism
op-deployer: support multiple deployments to same, non-standard superchain
- 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
Assessment
This issue has not been assessed yet.