Errors/Chain errors

InvalidTickRange

Check the argument values against the operation schema

View as Markdown

Legacy error from the removed V3 user-liquidity code, raised when tick_low was not below tick_high or a tick failed to convert to a sqrt price. Not raised on current runtimes; check the tick range arguments on older ones.

Declared by the Swap pallet; it classifies to the semantic code invalid_argument.

Remediation

Check the argument values against the operation schema

The same explanation is available in the terminal: btcli explain InvalidTickRange.