diff --git a/script/InitializeChildContracts.s.sol b/script/InitializeChildContracts.s.sol index fd7e7b5f..8f0a6ba2 100644 --- a/script/InitializeChildContracts.s.sol +++ b/script/InitializeChildContracts.s.sol @@ -19,7 +19,7 @@ contract InitializeChildContracts is Script { string memory childRpcUrl = vm.envString("CHILD_RPC_URL"); string memory rootChainName = vm.envString("ROOT_CHAIN_NAME"); address rootIMXToken = vm.envAddress("ROOT_IMX_ADDRESS"); - address childETHToken = vm.envAddress("CHILD_ETH_ADDRESS"); + address rootETHToken = vm.envAddress("ROOT_ETH_ADDRESS"); /** * INITIALIZE CHILD CONTRACTS @@ -33,7 +33,7 @@ contract InitializeChildContracts is Script { childTokenTemplate, rootChainName, rootIMXToken, - childETHToken + rootETHToken ); childAxelarBridgeAdaptor.setRootBridgeAdaptor();