diff --git a/src/child/ChildERC20Bridge.sol b/src/child/ChildERC20Bridge.sol index 158d51d5..2f01817a 100644 --- a/src/child/ChildERC20Bridge.sol +++ b/src/child/ChildERC20Bridge.sol @@ -61,7 +61,7 @@ contract ChildERC20Bridge is /** * @notice Fallback function on recieving native IMX. */ - receive() external payable {} + receive() external payable {} /** * @notice Initilization function for RootERC20Bridge. diff --git a/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMX.t.sol b/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMX.t.sol index 0e0a44c2..7fdc4a91 100644 --- a/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMX.t.sol +++ b/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMX.t.sol @@ -63,7 +63,6 @@ contract ChildERC20BridgeWithdrawWIMXIntegrationTest is abi.encodeWithSelector(axelarAdaptor.sendMessage.selector, predictedPayload, address(this)) ); - childBridge.withdrawWIMX{value: withdrawFee}(withdrawAmount); } @@ -145,4 +144,4 @@ contract ChildERC20BridgeWithdrawWIMXIntegrationTest is assertEq(postTokenBal, preTokenBal - withdrawAmount); assertEq(postGasBal, preGasBal + withdrawFee, "Gas service not getting paid"); } -} \ No newline at end of file +} diff --git a/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMXTo.t.sol b/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMXTo.t.sol index d8110e41..68ef0343 100644 --- a/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMXTo.t.sol +++ b/test/integration/child/withdrawals/ChildAxelarBridgeWithdrawWIMXTo.t.sol @@ -63,7 +63,6 @@ contract ChildERC20BridgeWithdrawWIMXToIntegrationTest is abi.encodeWithSelector(axelarAdaptor.sendMessage.selector, predictedPayload, address(this)) ); - childBridge.withdrawWIMXTo{value: withdrawFee}(address(this), withdrawAmount); } @@ -81,7 +80,6 @@ contract ChildERC20BridgeWithdrawWIMXToIntegrationTest is abi.encodeWithSelector(axelarAdaptor.sendMessage.selector, predictedPayload, address(this)) ); - childBridge.withdrawWIMXTo{value: withdrawFee}(receiver, withdrawAmount); } @@ -225,4 +223,4 @@ contract ChildERC20BridgeWithdrawWIMXToIntegrationTest is assertEq(postTokenBal, preTokenBal - withdrawAmount); assertEq(postGasBal, preGasBal + withdrawFee, "Gas service not getting paid"); } -} \ No newline at end of file +} diff --git a/test/unit/child/withdrawals/ChildERC20BridgeWithdrawWIMXTo.t.sol b/test/unit/child/withdrawals/ChildERC20BridgeWithdrawWIMXTo.t.sol index 393cc6ce..32682671 100644 --- a/test/unit/child/withdrawals/ChildERC20BridgeWithdrawWIMXTo.t.sol +++ b/test/unit/child/withdrawals/ChildERC20BridgeWithdrawWIMXTo.t.sol @@ -151,4 +151,4 @@ contract ChildERC20BridgeWithdrawWIMXToUnitTest is Test, IChildERC20BridgeEvents uint256 postBal = address(this).balance; assertEq(postBal, preBal - withdrawFee, "Fee not paid"); } -} \ No newline at end of file +}