cosmos-sdk: [Bug]: code using main branch cannot send transactions using cli command
Is there an existing issue for this?
- I have searched the existing issues
What happened?
First use the command simd testnet init-files --v 1 --output-dir ./nodes --chain-id simulation-app --keyring-backend test to initialize a test network
Then try to send a transfer transaction using the command simd tx bank send node0 cosmos1lh6pmahlkytz7lmrs25a42j6kxlmztyt204kyq 1stake --home ./nodes/node0/simd --keyring-backend test --chain-id simulation-app -y
The following error occurred:
invalid argument “node0” for “–0” flag: invalid account address or key name: decoding bech32 failed: invalid bech32 string length 5
Cosmos SDK Version
main
How to reproduce?
No response
About this issue
- Original URL
- State: open
- Created 9 months ago
- Comments: 18 (17 by maintainers)
By the way, using –dry-run for simulation testing will not work either, fox exapmle: simd tx bank send node0 cosmos1gfg9ucc7rrzc207y9qfmf58erftzf8z8ww5lr7 1stake --keyring-backend test --chain-id simulation-app --gas auto --fees 129550stake --home ./nodes/node0/simd --dry-run. @julienrbrt When do you plan to fix this bug?
In addition, for the same operation, there is no problem with tag v0.47.5, only the main branch has problems.