Skip to content

Commit

Permalink
chore: address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
meetmangukiya committed Sep 26, 2024
1 parent f7ce0a7 commit 5d22ca0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/e2e/BuyEth.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ contract BuyEthTest is Helper(true) {
// give some usdt to trader2
_mintUsdt(trader2.addr, 1201.2e6);
// approve usdt for trading on the vault
vm.startPrank(trader2.addr);
USDT.approve(vaultRelayer, 0);
vm.prank(trader2.addr);
USDT.approve(vaultRelayer, type(uint256).max);
vm.stopPrank();
// place the usdt to eth swap order
encoder.signEncodeTrade(
vm,
Expand Down

0 comments on commit 5d22ca0

Please sign in to comment.