superchain-ops icon indicating copy to clipboard operation
superchain-ops copied to clipboard

OPCM Template should retrieve OPCM address from the superchain registry based on the l1ContractRelease version

Open blmalone opened this issue 1 year ago • 4 comments

blmalone avatar Feb 12 '25 16:02 blmalone

Where should we look in the superchain registry to find the OPCM address?

I could not find it anywhere when searching the repo except in this test json file https://github.com/ethereum-optimism/superchain-registry/blob/210c8ea3cde825aad0c11a02f37fa94eae47ff59/ops/internal/report/testdata/deployer-state.json#L57

ElliotFriedman avatar Feb 14 '25 00:02 ElliotFriedman

Yea it's not in there yet, we can leave this task on hold for now and just require the user to specify a mapping of L1 chain ID -> OPCM in their opcm() getter

mds1 avatar Feb 14 '25 01:02 mds1

https://github.com/ethereum-optimism/superchain-registry/pull/897#discussion_r1957150033

blmalone avatar Feb 20 '25 21:02 blmalone

OPCM does exist in scr now: https://github.com/ethereum-optimism/superchain-registry/blob/main/validation/standard/standard-versions-mainnet.toml#L22

blmalone avatar Mar 18 '25 18:03 blmalone