From 828ef3b34fc293776782b63f086af8ebce68b5bd Mon Sep 17 00:00:00 2001 From: Benjamin Patch Date: Tue, 7 Nov 2023 14:19:51 +1100 Subject: [PATCH] Lint --- script/InitializeChildContracts.s.sol | 6 ++++-- script/InitializeRootContracts.s.sol | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/script/InitializeChildContracts.s.sol b/script/InitializeChildContracts.s.sol index 81ca6e9e..722c8b58 100644 --- a/script/InitializeChildContracts.s.sol +++ b/script/InitializeChildContracts.s.sol @@ -33,7 +33,7 @@ contract InitializeChildContracts is Script { childERC20Bridge: ChildERC20Bridge(vm.envAddress("CHILD_ERC20_BRIDGE")), childAxelarBridgeAdaptor: ChildAxelarBridgeAdaptor(vm.envAddress("CHILD_BRIDGE_ADAPTOR")), childTokenTemplate: vm.envAddress("CHILDCHAIN_CHILD_TOKEN_TEMPLATE"), - rootERC20BridgeAdaptor: vm.envAddress("ROOT_BRIDGE_ADAPTOR"), + rootERC20BridgeAdaptor: vm.envAddress("ROOT_BRIDGE_ADAPTOR"), rootChainName: vm.envString("ROOT_CHAIN_NAME"), rootIMXToken: vm.envAddress("ROOT_IMX_ADDRESS"), childRpcUrl: vm.envString("CHILD_RPC_URL"), @@ -68,7 +68,9 @@ contract InitializeChildContracts is Script { params.rootIMXToken ); - params.childAxelarBridgeAdaptor.initialize(params.rootChainName, address(params.childERC20Bridge), params.childGasService); + params.childAxelarBridgeAdaptor.initialize( + params.rootChainName, address(params.childERC20Bridge), params.childGasService + ); vm.stopBroadcast(); } diff --git a/script/InitializeRootContracts.s.sol b/script/InitializeRootContracts.s.sol index ea09b8ae..a34ee022 100644 --- a/script/InitializeRootContracts.s.sol +++ b/script/InitializeRootContracts.s.sol @@ -16,7 +16,7 @@ import {Utils} from "./Utils.sol"; struct InitializeRootContractsParams { address rootAdminAddress; address rootPauserAddress; - address rootUnpauserAddress; + address rootUnpauserAddress; RootERC20Bridge rootERC20Bridge; RootAxelarBridgeAdaptor rootBridgeAdaptor; address rootChainChildTokenTemplate;