Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ func init() {
}

func TestInteropReadiness(gt *testing.T) {
gt.Skip("TODO(#18616): Skipping interop readiness test for now")
t := devtest.ParallelT(gt)
sys := presets.NewSimpleInterop(t)

Expand Down
20 changes: 20 additions & 0 deletions op-devstack/sysgo/superroot.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,26 @@ func resetOwnershipAfterMigration(
l1PAO,
)

// The migration temporarily transfers ownership of each portal ProxyAdmin to the DelegateCallProxy
// to satisfy the delegatecall requirement of the OPCM. Reset these back to the L1 proxy admin owner
// after the shared admin contracts are restored.
for _, cfg := range opChainConfigs {
portal := getOptimismPortal(t, w3Client, cfg.SystemConfigProxy)
portalProxyAdmin := getProxyAdmin(t, w3Client, portal)
// In some setups the migration may already restore ownership. Only reset when still owned by the proxy.
if getOwner(t, w3Client, portalProxyAdmin) == delegateCallProxy {
transferOwnershipForDelegateCallProxy(
t,
l1ChainID,
ownerPrivateKey,
client,
delegateCallProxy,
portalProxyAdmin,
l1PAO,
)
}
}

// The Proxy Admin owner is changed. Assert that the admin of other proxies are consistent
var sharedAnchorStateRegistryProxy common.Address
err = w3Client.Call(w3eth.CallFunc(portal0, anchorStateRegistryFn).Returns(&sharedAnchorStateRegistryProxy))
Expand Down