Skip to content

Commit

Permalink
fix: a edge case for testSwap (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
chefburger committed May 13, 2024
1 parent 29822f3 commit 8c19261
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/pool-cl/libraries/CLPool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ contract PoolTest is Test {
CLPool.SwapParams memory swapParams,
uint24 swapFee
) public {
swapParams.amountSpecified = int256(bound(swapParams.amountSpecified, 0, type(int128).max));

testModifyPosition(sqrtPriceX96, modifyLiquidityParams, swapFee);

swapParams.tickSpacing = modifyLiquidityParams.tickSpacing;
Expand Down

0 comments on commit 8c19261

Please sign in to comment.