We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Osmosis version: 13.1.1 OS & Version: macOS Commit hash: 7568297f11160cb8b09cdb99dd737b953648b242
13.1.1
7568297f11160cb8b09cdb99dd737b953648b242
According to CLI help text, the 2nd argument should be token_in_max_amount and the 3rd being share_out_amount:
token_in_max_amount
share_out_amount
$ osmosisd tx gamm join-swap-share-amount-out -h join swap share amount out Usage: osmosisd tx gamm join-swap-share-amount-out [token-in-denom] [token-in-max-amount] [share-out-amount] [flags]
Transactions are composed using the 2rd argument as share_out_amount and the 3rd as token_in_max_amount.
Running the following command, I would expect a transaction to deposit at most 12345uosmo with an share output amount of 67890gamm/pool/678.
12345uosmo
67890gamm/pool/678
However, as shown below, a transaction depositing at most 67890uosmo with the share output amount of 12345gamm/pool/678 is composed.
67890uosmo
12345gamm/pool/678
$ osmosisd tx gamm join-swap-share-amount-out uosmo 12345 67890 --pool-id 678 --from keyname Enter keyring passphrase: [hidden] {"body":{"messages":[{"@type":"/osmosis.gamm.v1beta1.MsgJoinSwapShareAmountOut","sender":"osmo1...","pool_id":"678","token_in_denom":"uosmo","share_out_amount":"12345","token_in_max_amount":"67890"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"350000","payer":"","granter":""}},"signatures":[]} confirm transaction before signing and broadcasting [y/N]: ^C
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
System information
Osmosis version:
13.1.1
OS & Version: macOS
Commit hash:
7568297f11160cb8b09cdb99dd737b953648b242
Expected behaviour
According to CLI help text, the 2nd argument should be
token_in_max_amount
and the 3rd beingshare_out_amount
:Actual behaviour
Transactions are composed using the 2rd argument as
share_out_amount
and the 3rd astoken_in_max_amount
.Steps to reproduce the behaviour
Running the following command, I would expect a transaction to deposit at most
12345uosmo
with an share output amount of67890gamm/pool/678
.However, as shown below, a transaction depositing at most
67890uosmo
with the share output amount of12345gamm/pool/678
is composed.The text was updated successfully, but these errors were encountered: