From 23a8658292d99fb8b1499904709c482a51367d07 Mon Sep 17 00:00:00 2001 From: leovct Date: Fri, 17 Nov 2023 11:24:57 +0100 Subject: [PATCH] Revert "fix: initialize ERC20 tokens `childChain` address" This reverts commit 206c0d5966796b65b2c53c9fd3356246603fdf74. --- migrations/5_deploy_child_contracts.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/migrations/5_deploy_child_contracts.js b/migrations/5_deploy_child_contracts.js index 46b646a7b..a634357be 100644 --- a/migrations/5_deploy_child_contracts.js +++ b/migrations/5_deploy_child_contracts.js @@ -29,7 +29,6 @@ module.exports = async function(deployer, network, accounts) { 18, false // _isERC721 ) - await MaticWeth.changeChildChain(ChildChain.address) let TestToken = await childChain.addToken( accounts[0], @@ -39,7 +38,6 @@ module.exports = async function(deployer, network, accounts) { 18, false // _isERC721 ) - await TestToken.changeChildChain(ChildChain.address) let RootERC721 = await childChain.addToken( accounts[0], @@ -49,7 +47,6 @@ module.exports = async function(deployer, network, accounts) { 0, true // _isERC721 ) - await RootERC721.changeChildChain(ChildChain.address) const maticToken = await MRC20.at('0x0000000000000000000000000000000000001010') const maticOwner = await maticToken.owner()