Skip to content

Commit 8022cd9

Browse files
meetmangukiyamfw78
authored andcommitted
chore: address review comments
1 parent 300ea4a commit 8022cd9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/e2e/BuyEth.t.sol

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ contract BuyEthTest is Helper(true) {
7171
// give some usdt to trader2
7272
_mintUsdt(trader2.addr, 1201.2e6);
7373
// approve usdt for trading on the vault
74-
vm.startPrank(trader2.addr);
75-
USDT.approve(vaultRelayer, 0);
74+
vm.prank(trader2.addr);
7675
USDT.approve(vaultRelayer, type(uint256).max);
77-
vm.stopPrank();
7876
// place the usdt to eth swap order
7977
encoder.signEncodeTrade(
8078
vm,

0 commit comments

Comments
 (0)