From 9e47066cebb67d4dc327e8b7efc11c2982caaeed Mon Sep 17 00:00:00 2001 From: wcgcyx Date: Mon, 6 Nov 2023 08:43:50 +1000 Subject: [PATCH] Update InitializeChildContracts.s.sol --- script/InitializeChildContracts.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/InitializeChildContracts.s.sol b/script/InitializeChildContracts.s.sol index ec29a6cd9..68e7c3812 100644 --- a/script/InitializeChildContracts.s.sol +++ b/script/InitializeChildContracts.s.sol @@ -12,7 +12,7 @@ import {Utils} from "./Utils.sol"; contract InitializeChildContracts is Script { function run() public { uint256 deployerPrivateKey = vm.envUint("CHILD_PRIVATE_KEY"); - ChildERC20Bridge childERC20Bridge = ChildERC20Bridge(vm.envAddress("CHILD_ERC20_BRIDGE")); + ChildERC20Bridge childERC20Bridge = ChildERC20Bridge(payable(vm.envAddress("CHILD_ERC20_BRIDGE"))); ChildAxelarBridgeAdaptor childAxelarBridgeAdaptor = ChildAxelarBridgeAdaptor(vm.envAddress("CHILD_BRIDGE_ADAPTOR")); address childTokenTemplate = vm.envAddress("CHILDCHAIN_CHILD_TOKEN_TEMPLATE");