-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Uniswap has a max liquidity per tick given the tickSpacing used. It can be retrieved with Pool.tickSpacingToMaxLiquidityPerTick. It's important that we never attempt to provide liquidity, or even compute liquidity amounts, e.g. with getLiquidityForAmount0/1 if we exceed the max liquidity per tick.
We should consider all the places where we must validate the liquidity per tick is less than the max amount and if it is not less, we should extend the slug ranges accordingly
Alternatively, it may be possible to derive whether we will ever reach this maximum given the constructor parameters and enforce this there
Metadata
Metadata
Assignees
Labels
No labels