Skip to content

Commit

Permalink
Fix fuzz failing on main (Uniswap#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
hensha256 authored Jul 23, 2024
1 parent c818209 commit 1ec87dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/libraries/Pool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ contract PoolTest is Test, GasSnapshot {
)
);
state.swap(params);
} else if (params.sqrtPriceLimitX96 <= TickMath.MIN_SQRT_PRICE) {
} else if (params.sqrtPriceLimitX96 < TickMath.MIN_SQRT_PRICE) {
vm.expectRevert(abi.encodeWithSelector(Pool.PriceLimitOutOfBounds.selector, params.sqrtPriceLimitX96));
state.swap(params);
}
Expand Down

0 comments on commit 1ec87dc

Please sign in to comment.