Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wcgcyx committed Nov 7, 2023
1 parent 4224bd6 commit d5776a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/child/ChildERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ contract ChildERC20BridgeWithdrawWIMXIntegrationTest is
abi.encodeWithSelector(axelarAdaptor.sendMessage.selector, predictedPayload, address(this))
);


childBridge.withdrawWIMX{value: withdrawFee}(withdrawAmount);
}

Expand Down Expand Up @@ -145,4 +144,4 @@ contract ChildERC20BridgeWithdrawWIMXIntegrationTest is
assertEq(postTokenBal, preTokenBal - withdrawAmount);
assertEq(postGasBal, preGasBal + withdrawFee, "Gas service not getting paid");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ contract ChildERC20BridgeWithdrawWIMXToIntegrationTest is
abi.encodeWithSelector(axelarAdaptor.sendMessage.selector, predictedPayload, address(this))
);


childBridge.withdrawWIMXTo{value: withdrawFee}(address(this), withdrawAmount);
}

Expand All @@ -81,7 +80,6 @@ contract ChildERC20BridgeWithdrawWIMXToIntegrationTest is
abi.encodeWithSelector(axelarAdaptor.sendMessage.selector, predictedPayload, address(this))
);


childBridge.withdrawWIMXTo{value: withdrawFee}(receiver, withdrawAmount);
}

Expand Down Expand Up @@ -225,4 +223,4 @@ contract ChildERC20BridgeWithdrawWIMXToIntegrationTest is
assertEq(postTokenBal, preTokenBal - withdrawAmount);
assertEq(postGasBal, preGasBal + withdrawFee, "Gas service not getting paid");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ contract ChildERC20BridgeWithdrawWIMXToUnitTest is Test, IChildERC20BridgeEvents
uint256 postBal = address(this).balance;
assertEq(postBal, preBal - withdrawFee, "Fee not paid");
}
}
}

0 comments on commit d5776a7

Please sign in to comment.