From 160a8b272c1e94bf5abed37c98629314f3204765 Mon Sep 17 00:00:00 2001 From: Fabriziogianni7 Date: Wed, 17 Apr 2024 11:02:43 +0200 Subject: [PATCH] fixed small error in stopOnRevertHandler --- test/fuzz/failOnRevert/StopOnRevertHandler.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fuzz/failOnRevert/StopOnRevertHandler.t.sol b/test/fuzz/failOnRevert/StopOnRevertHandler.t.sol index c8dd81b..8e45444 100644 --- a/test/fuzz/failOnRevert/StopOnRevertHandler.t.sol +++ b/test/fuzz/failOnRevert/StopOnRevertHandler.t.sol @@ -61,7 +61,7 @@ contract StopOnRevertHandler is Test { uint256 maxCollateral = dscEngine.getCollateralBalanceOfUser(msg.sender, address(collateral)); amountCollateral = bound(amountCollateral, 0, maxCollateral); - vm.prank(msg.sender); + //vm.prank(msg.sender); if (amountCollateral == 0) { return; }