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

[Bug]: Incorrect example for CLI command 'add-to-position' #6367

Open
kamal-sutra opened this issue Sep 11, 2023 · 1 comment
Open

[Bug]: Incorrect example for CLI command 'add-to-position' #6367

kamal-sutra opened this issue Sep 11, 2023 · 1 comment

Comments

@kamal-sutra
Copy link
Contributor

What happened?

image

Following the above example, throws this Error
image

The correct command is
$osmosisd tx concentratedliquidity add-to-position [position-id] [Amount-0] [Amount-1] [token-0-min-amount] [token-1-min-amount] [flags]

(Note- Do not include denoms. Just specify Amounts.)

Correct Example:
$osmosisd tx concentratedliquidity add-to-position 107891 100000 100000 0 0 --from ADMIN -b block --keyring-backend os --chain-id osmosis-1 --fees 10000uosmo --gas 1462122

Osmosis Version

19.0.0

How to reproduce?

Run on CLI:

$ osmosisd tx concentratedliquidity add-to-position 107891 100000ibc/4ABBEF4C8926DDDB320AE5188CFD63267ABBCEFC0583E4AE05D6E5AA2401DDAB 100000ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858 --from ADMIN -b block --keyring-backend
os --fees 10000uosmo --gas 527420
Error: accepts 5 arg(s), received 3

Correct Example:
$osmosisd tx concentratedliquidity add-to-position 107891 100000 100000 0 0 --from ADMIN -b block --keyring-backend os --chain-id osmosis-1 --fees 10000uosmo --gas 1462122

@pysel
Copy link
Member

pysel commented Sep 12, 2023

note: these kinds of bugs will be fixed in subsequent releases, since #6005 was merged

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

No branches or pull requests

2 participants