From 24fdc4bfd2b7000f409172b1b5467e6600d3db1d Mon Sep 17 00:00:00 2001 From: "arcantheon@gmail.com" Date: Wed, 4 Dec 2024 15:48:31 +0530 Subject: [PATCH] Updated slippage and it's comment to 4% --- test/strategy/FluidStrategy.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/strategy/FluidStrategy.t.sol b/test/strategy/FluidStrategy.t.sol index 2d2c99b..0d8d1b8 100644 --- a/test/strategy/FluidStrategy.t.sol +++ b/test/strategy/FluidStrategy.t.sol @@ -261,7 +261,7 @@ contract DepositTest is FluidStrategyTest { uint256 new_bal = strategy.checkBalance(ASSET); uint256 newLPBalance = strategy.checkLPTokenBalance(ASSET); assertEq(initial_bal + depositAmount, new_bal); - assertApproxEqRel(initialLPBalance + depositAmount, newLPBalance, 2e16); // 2% slippage + assertApproxEqRel(initialLPBalance + depositAmount, newLPBalance, 4e16); // 4% slippage } }