diff --git a/test/utils.t.sol b/test/utils.t.sol index 48c309d8c..7151afd95 100644 --- a/test/utils.t.sol +++ b/test/utils.t.sol @@ -48,9 +48,6 @@ contract Utils is Test { axelarGasService = new MockAxelarGasService(); axelarAdaptor = new RootAxelarBridgeAdaptor(); - axelarAdaptor.initialize( - address(rootBridge), childBridgeName, address(mockAxelarGateway), address(axelarGasService) - ); rootBridge.initialize( address(axelarAdaptor), @@ -60,6 +57,10 @@ contract Utils is Test { imxTokenAddress, wethTokenAddress ); + + axelarAdaptor.initialize( + address(rootBridge), childBridgeName, address(mockAxelarGateway), address(axelarGasService) + ); } function setupDeposit(