When adding liquidity by ticks the lower price is the upper price and vice versa in the record action.
By converting the tick pair the prices are right.
This does not happen when adding liquidity by price because the code doesn't use the tick to calculate the price, it passes the input prices.
When adding liquidity by ticks the lower price is the upper price and vice versa in the record action. By converting the tick pair the prices are right. This does not happen when adding liquidity by price because the code doesn't use the tick to calculate the price, it passes the input prices.