From e7a34b02a425ee48ffc54c3e01ec7adc23ff01d9 Mon Sep 17 00:00:00 2001 From: Tristan22400 Date: Wed, 10 May 2023 16:36:06 +0200 Subject: [PATCH 1/2] fix: removing useless lines --- test/aave-v2/TestSupply.t.sol | 1 - 1 file changed, 1 deletion(-) diff --git a/test/aave-v2/TestSupply.t.sol b/test/aave-v2/TestSupply.t.sol index 30e6e86ee..6d8d21f4c 100644 --- a/test/aave-v2/TestSupply.t.sol +++ b/test/aave-v2/TestSupply.t.sol @@ -225,7 +225,6 @@ contract TestSupply is TestSetup { supplier2.approve(dai, address(pool), amount); hevm.prank(address(supplier2)); pool.repay(dai, amount, 2, address(morpho)); - hevm.stopPrank(); // Supplier 1 supply in peer-to-peer. Not supposed to revert. supplier1.approve(dai, amount); From af7072013fbee51b9a89d2da0d1cfa1d2351b65e Mon Sep 17 00:00:00 2001 From: Tristan22400 Date: Wed, 10 May 2023 17:23:24 +0200 Subject: [PATCH 2/2] fix: useless lines --- test/compound/TestRepay.t.sol | 1 - test/compound/TestSupply.t.sol | 1 - 2 files changed, 2 deletions(-) diff --git a/test/compound/TestRepay.t.sol b/test/compound/TestRepay.t.sol index f89925ab6..aa8c6ac70 100644 --- a/test/compound/TestRepay.t.sol +++ b/test/compound/TestRepay.t.sol @@ -711,7 +711,6 @@ contract TestRepay is TestSetup { supplier2.approve(dai, cDai, amount); hevm.prank(address(supplier2)); ICToken(cDai).repayBorrowBehalf(address(morpho), amount); - hevm.stopPrank(); // Borrower1 repays on pool. Not supposed to revert. borrower1.approve(dai, amount); diff --git a/test/compound/TestSupply.t.sol b/test/compound/TestSupply.t.sol index 17ca0f996..25c192034 100644 --- a/test/compound/TestSupply.t.sol +++ b/test/compound/TestSupply.t.sol @@ -221,7 +221,6 @@ contract TestSupply is TestSetup { supplier2.approve(dai, cDai, amount); hevm.prank(address(supplier2)); ICToken(cDai).repayBorrowBehalf(address(morpho), amount); - hevm.stopPrank(); // Supplier supplies in peer-to-peer. Not supposed to revert. supplier1.approve(dai, amount);