This fixes a silly SQL syntax error and then several incorrect calculations from
52
This is due to not enough care being taken during the original work.
The current tick liquidity queries need to handle that the reserves in question are now spread across multiple Fee rows for any given TickIndex in question. So in particular update queries where only one Fee and row are effected, care must be taken that the returned reserves number is the reserves of the whole TickIndex and not just part of the tick index reserves that changed recently.
This fixes a silly SQL syntax error and then several incorrect calculations from
52
This is due to not enough care being taken during the original work.
The current tick liquidity queries need to handle that the
reserves
in question are now spread across multipleFee
rows for any givenTickIndex
in question. So in particular update queries where only oneFee
and row are effected, care must be taken that the returnedreserves
number is the reserves of the wholeTickIndex
and not just part of the tick index reserves that changed recently.