Skip to content

Commit

Permalink
Updated slippage and it's comment to 4%
Browse files Browse the repository at this point in the history
  • Loading branch information
arcantheon committed Dec 4, 2024
1 parent deaf13c commit 24fdc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/strategy/FluidStrategy.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 24fdc4b

Please sign in to comment.