optimism icon indicating copy to clipboard operation
optimism copied to clipboard

superchain-ops: add ability to run upgrade tasks against devnets

Open bitwiseguy opened this issue 5 months ago • 2 comments

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:

  1. addresses.json file includes entries for all devnets in the superchain-registry
  2. 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 sepolia or is there a way for superchain-ops to programmatically discover the appropriate the L1/rpc?

bitwiseguy avatar May 16 '25 15:05 bitwiseguy