v4-core icon indicating copy to clipboard operation
v4-core copied to clipboard

Add Tests for maxUsableTick and minUsableTick Functions

Open partylikeits1983 opened this issue 11 months ago • 1 comments

@hensha256 @aadams Following up on the stale PR: https://github.com/Uniswap/v4-core/pull/468

This commit introduces tests for the newly added utility functions maxUsableTick and minUsableTick in the TickMath library.

Added tests to check the min and max usable ticks in the TickMath library.

Added 2 tests to check tick spacings for popular fee tiers.

Added 2 fuzzing tests.

Added 2 tests to check revert of min/max tick on 0.

partylikeits1983 avatar Mar 26 '24 09:03 partylikeits1983

@hensha256

partylikeits1983 avatar Apr 15 '24 06:04 partylikeits1983