We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 300ea4a commit 8022cd9Copy full SHA for 8022cd9
test/e2e/BuyEth.t.sol
@@ -71,10 +71,8 @@ contract BuyEthTest is Helper(true) {
71
// give some usdt to trader2
72
_mintUsdt(trader2.addr, 1201.2e6);
73
// approve usdt for trading on the vault
74
- vm.startPrank(trader2.addr);
75
- USDT.approve(vaultRelayer, 0);
+ vm.prank(trader2.addr);
76
USDT.approve(vaultRelayer, type(uint256).max);
77
- vm.stopPrank();
78
// place the usdt to eth swap order
79
encoder.signEncodeTrade(
80
vm,
0 commit comments