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

Test: Sepolia task to transfer owner of ProtocolVersions

Open blmalone opened this issue 1 year ago • 5 comments

0xfd1D2e729aE8eEe2E146c033bf4400fE75284301 is the Sepolia ProtocolVersions owner.

On mainnet, the owner of ProtocolVersions is the Foundation Upgrade Safe (FUS) - 0x847B5c174615B1B7fDF770882256e2D3E95b9D92

We should create a template in superchain-ops 2.0 that transfers the ProtocolVersions owner. Then create a task from this template on sepolia that transfers the owner to the sepolia FUS.

blmalone avatar Feb 05 '25 19:02 blmalone

I would probably create a general ownership transfer template where the inputs are a the chain, contract name, and the new owner address, where the new owner address is a named string like "Foundation Upgrades Safe" which the template maps to the correct address

mds1 avatar Feb 05 '25 19:02 mds1

Make sense, we've got this implemented here: https://github.com/ethereum-optimism/superchain-ops/pull/595

blmalone avatar Feb 14 '25 18:02 blmalone

Doing deputy pause module first, this can come after

blmalone avatar Feb 20 '25 21:02 blmalone

Where can we find the ProtocolVersions contract in the superchain ops or superchain registry repo?

Searching this address 0x8062AbC286f5e7D9428a0Ccb9AbD71e50d93b935 in the addresses.json file in superchain-registry shows no results.

Looking in the AddressRegistry contract in superchain ops doesn't show anywhere an address named or close to ProtocolVersions is stored.

Should this be another address that is added to the hardcoded addresses.toml file?

Or, should we modify AddressRegistry contract to fetch this onchain from the OPCM?

ElliotFriedman avatar Feb 24 '25 21:02 ElliotFriedman

The most generic version of the TransferOwnerTemplate would accept a toml configuration file with values for both the new owner and contract whose ownership is being transferred.

ElliotFriedman avatar Feb 24 '25 21:02 ElliotFriedman

Closing this as we have templates for transferring L1 and L2 owners implemented.

blmalone avatar Jun 26 '25 18:06 blmalone