Commit 99c0693a authored by ben-chain's avatar ben-chain Committed by Kelvin Fichter

fix(contracts): use currect messenger proxy name

parent c73d36f1
...@@ -11,10 +11,14 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -11,10 +11,14 @@ const deployFn: DeployFunction = async (hre) => {
// There is a risk that on a fresh deployment we could get front-run, // There is a risk that on a fresh deployment we could get front-run,
// and the Proxy would be bricked. But that feels unlikely, and we can recover from it. // and the Proxy would be bricked. But that feels unlikely, and we can recover from it.
console.log(`Initializing Proxy__L1CrossDomainMessenger...`) console.log(`Initializing Proxy__L1CrossDomainMessenger...`)
const proxy = await getLiveContract(hre, 'Proxy__L1CrossDomainMessenger', { const proxy = await getLiveContract(
iface: 'L1CrossDomainMessenger', hre,
signerOrProvider: deployer, 'Proxy__OVM_L1CrossDomainMessenger',
}) {
iface: 'L1CrossDomainMessenger',
signerOrProvider: deployer,
}
)
const libAddressManager = await getLiveContract(hre, 'Lib_AddressManager') const libAddressManager = await getLiveContract(hre, 'Lib_AddressManager')
await proxy.initialize(libAddressManager.address) await proxy.initialize(libAddressManager.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