Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAustrian committed May 15, 2024
1 parent afe79f9 commit be1efe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/BPool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit be1efe4

Please sign in to comment.