Commit e8c5eac8 authored by Matthew Slipper's avatar Matthew Slipper

ctb: Fix check-l2 magic check

The value needs to be read from the proxy, not the implementation.
parent a8a82b09
...@@ -154,7 +154,7 @@ const checkGenesisMagic = async ( ...@@ -154,7 +154,7 @@ const checkGenesisMagic = async (
address = args.l2OutputOracleAddress address = args.l2OutputOracleAddress
} else { } else {
const Deployment__L2OutputOracle = await hre.deployments.get( const Deployment__L2OutputOracle = await hre.deployments.get(
'L2OutputOracle' 'L2OutputOracleProxy'
) )
address = Deployment__L2OutputOracle.address address = Deployment__L2OutputOracle.address
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment