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

Problem: account not found error message is unclear to user #686

Open
leejw51crypto opened this issue Dec 7, 2021 · 0 comments
Open

Problem: account not found error message is unclear to user #686

leejw51crypto opened this issue Dec 7, 2021 · 0 comments
Assignees

Comments

@leejw51crypto
Copy link
Contributor

leejw51crypto commented Dec 7, 2021

when user run like this)
chain-maind tx staking create-validator --from='test' --amount=1cro --pubkey='{"@type":"/cosmos.crypto.ed25519.PubKey","key":"....."}' --moniker="ok" --security-contact="" --chain-id="test2" --commission-rate="0.10" --commission-max-rate="0.20" --commission-max-change-rate="0.01" --min-self-delegation="1" --gas 8000000 --gas-prices 0.1basecro --node $NODE

if test address doesn't have any value,
error is like this

Error: rpc error: code = NotFound desc= rpc error   
desc= account .....    not found: key not found

this error is a little confusing with keyring-backend errors,
can be like this

account ... not found: send fund to create this account, 
and this is not keyring-backend issue
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