refactor(CL): convert priceLimit
from Dec to BigDec
#6355
Labels
C:x/concentrated-liquidity
F: concentrated-liquidity
Tracking the development of concentrated liquidity feature to improve filtering on the project board
Background
Since we are lowering min spot price below Dec's precision, we need to also convert
priceLimit
toBigDec
. Otherwise,swapStrategy.ValidateSqrtPrice
is unable to validate the price limit correctlycomputeInAmtGivenOut
computeOutAmtGivenIn
setupSwapStrategy
swapstrategy.GetPriceLimit
And any other methods and tests.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: