osmosis
osmosis copied to clipboard
[Bug]: TokenFactory CLI --help for `create-denom` is outdated as it includes `(cost osmo though!)`
What happened?
when running osmosid tx tokenfactory the help documentation shows (Costs osmo though!), while since may 2023 this is not the case anymore (PR with on chain proposal link).
This confused me as there was no way to add the fee to the transaction and so i set the --fees parameter to 100osmo, (which was the price for tokenfactory a while ago). This was (in hindsight) obviously stupid as its the gas fee and it cased me to have the transaction fail, but the gas fee still payed (basically leading me to spend 100Osmo on fee for nothing (see tx).
❯ osmosisd tx tokenfactory
tokenfactory transactions subcommands
Usage:
osmosisd tx tokenfactory [command]
Available Commands:
burn Burn tokens from an address. Must have admin authority to do so.
change-admin Changes the admin address for a factory-created denom. Must have admin authority to do so.
create-denom create a new denom from an account. (Costs osmo though!)
mint Mint a denom to an address. Must have admin authority to do so.
set-beforesend-hook Set a cosmwasm contract to be the beforesend hook for a factory-created denom. Must have admin authority to do so.
Osmosis Version
23.0.8
How to reproduce?
install daemon and run osmosisd tx tokenfactory