From 5d22ca0e1fec81f06b04d502cd536f3877a986c2 Mon Sep 17 00:00:00 2001 From: Meet Mangukiya Date: Thu, 26 Sep 2024 11:43:09 +0530 Subject: [PATCH] chore: address review comments --- test/e2e/BuyEth.t.sol | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/e2e/BuyEth.t.sol b/test/e2e/BuyEth.t.sol index a2277802..44f5b541 100644 --- a/test/e2e/BuyEth.t.sol +++ b/test/e2e/BuyEth.t.sol @@ -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,