From e68d99908a323e0df0f38dbfa57fc84732e434ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wei=C3=9Fer=20Hase?= Date: Fri, 26 Jul 2024 14:43:00 +0200 Subject: [PATCH] test: try against no fee --- test/invariants/fuzz/BMath.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/invariants/fuzz/BMath.t.sol b/test/invariants/fuzz/BMath.t.sol index 3c4af8b8..620a246e 100644 --- a/test/invariants/fuzz/BMath.t.sol +++ b/test/invariants/fuzz/BMath.t.sol @@ -142,7 +142,7 @@ contract FuzzBMath is EchidnaTest { // assert(tokenAmountIn <= calc_tokenAmountIn); // } - uint256 FEE_DISCOUNT = 0.5e18; + uint256 FEE_DISCOUNT = 0; // compare against no fee // calcPoolOutGivenSingleIn * calcSingleOutGivenPoolIn should be equal to calcOutGivenIn function fuzz_testIndirectSwaps_CalcOutGivenIn(