optimism
optimism copied to clipboard
superchain-ops: add ability to run upgrade tasks against devnets
After devnets are added to the superchain-registry, we need to be able to test our full upgrade flow against them using superchain-ops task (as we do for production networks).
superchain-ops reads from the codegen'ed addresses.json file stored in the superchain-registry, then uses that information to pull addresses and other config data from onchain.
Requirements:
- addresses.json file includes entries for all devnets in the superchain-registry
- superchain-ops has awareness of the l1-rpc-url needed to query the L2 chain's contracts onchain: should we assume the L1 for devnets is always
sepoliaor is there a way for superchain-ops to programmatically discover the appropriate the L1/rpc?