From be1efe426ee3c713609d3e05224bbcb0ce98e437 Mon Sep 17 00:00:00 2001 From: 0xAustrian Date: Wed, 15 May 2024 13:22:09 -0300 Subject: [PATCH] fix: comment --- test/unit/BPool.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/BPool.t.sol b/test/unit/BPool.t.sol index 5270b91a..6ab12306 100644 --- a/test/unit/BPool.t.sol +++ b/test/unit/BPool.t.sol @@ -123,7 +123,7 @@ abstract contract BasePoolTest is Test, BConst, Utils, BMath { uint256 _totalSupply ) internal pure { uint256 _normalizedWeight = bdiv(_tokenInDenorm, _totalWeight); - vm.assume(_normalizedWeight < BONE); // TODO: why this? if the weights are between allowed boundaries + vm.assume(_normalizedWeight < BONE); // TODO: why this? if the weights are between allowed it should be fine uint256 _zaz = bmul(bsub(BONE, _normalizedWeight), _swapFee); uint256 _tokenAmountInAfterFee = bmul(_tokenAmountIn, bsub(BONE, _zaz));