diff --git a/proxy/migrations/deployMainnet.ts b/proxy/migrations/deployMainnet.ts index db2fe6b45..47f8d64ca 100644 --- a/proxy/migrations/deployMainnet.ts +++ b/proxy/migrations/deployMainnet.ts @@ -219,6 +219,7 @@ async function main() { try { await contractManagerInst.setContractsAddress( "MessageProxyForMainnet", deployed.get( "MessageProxyForMainnet" )?.address); await contractManagerInst.setContractsAddress( "CommunityPool", deployed.get( "CommunityPool" )?.address); + await contractManagerInst.setContractsAddress( "Linker", deployed.get( "Linker" )?.address); for (const contractName of contractsToDeploy) { const contractAddress = deployed.get(contractName); if (contractAddress === undefined) { diff --git a/proxy/migrations/upgradeMainnet.ts b/proxy/migrations/upgradeMainnet.ts index 0dad5177a..298e10c9e 100644 --- a/proxy/migrations/upgradeMainnet.ts +++ b/proxy/migrations/upgradeMainnet.ts @@ -89,7 +89,7 @@ class ImaMainnetUpgrader extends Upgrader { contractManagerInterface, ethers.provider ) - for (const contractName of contractsToDeploy) { + for (const contractName of contractsToDeploy.concat(["Linker"])) { try { const contractAddress = await contractManager.getContract(contractName); console.log(`Address of ${contractName} is set to ${contractAddress}`);