osmosis-labs/osmojs

createPosition from osmosis.concentratedliquidity seems to be spotty erroring out most times with invalid coins error

Opened this issue · 0 comments

The following request:

{"poolId":"1264","sender":"ADDRESS","tokenMinAmount0":"308115949918710","tokenMinAmount1":"0","tokensProvided":[{"denom":"ibc/EA1D43981D5C9A1C4AAEA9C23BB1D4FA126BA9BC7020A25E0AE4AA841EA25DC5","amount":"324332578861800"},{"denom":"ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4","amount":"787389"}],"upperTick":"-79577000","lowerTick":"-79935800"}

Fails with the error:

Query failed with (6): rpc error: code = Unknown desc = Invalid coins (324332578861800ibc/EA1D43981D5C9A1C4AAEA9C23BB1D4FA126BA9BC7020A25E0AE4AA841EA25DC5,787389ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4) With gas wanted: '0' and gas used: '167024' : unknown request

It works like 1% of the times for different pools. I've tried playing around with different arguments taken straight from keplr for requests that actually work on there but simply won't with osmojs.