regen-ledger
regen-ledger copied to clipboard
add-genesis-account not using configured keyring-backend
Summary of Bug
The add-genesis-account
command is defined within each application. If keying backend is set using regen config
, it should be possible to run the add-genesis-account
command without explicitly setting the --keyring-backend
flag.
Version
v4.0.0
Steps to Reproduce
regen init validator --chain-id test
regen config keyring-backend test
regen keys add test
regen add-genesis-account test 1000000000stake
Receive the following error:
Error: failed to get address from Keybase: validator.info: key not found [regen-network/[email protected]/crypto/keyring/keyring.go:465]
Run with the flag and no error:
regen add-genesis-account test 1000000000stake --keyring-backend test
For Admin Use
- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate contributors tagged
- [ ] Contributor assigned/self-assigned