Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
haroondilshad opened this issue Jan 5, 2024 · 0 comments

Comments

@haroondilshad
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant