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

"update-class-admin" does not recognize keyring name #596

Closed
4 tasks
kaustubhkapatral opened this issue Oct 27, 2021 · 0 comments · Fixed by #599
Closed
4 tasks

"update-class-admin" does not recognize keyring name #596

kaustubhkapatral opened this issue Oct 27, 2021 · 0 comments · Fixed by #599
Assignees

Comments

@kaustubhkapatral
Copy link
Contributor

Summary of Bug

While updating class admin, if the key name is passed for the --from flag it throws an error saying invalid address

regen tx ecocredit update-class-admin C01 regen14x0wyl7r0l2clu6hh34kqaulausvjzs0vzed7u 
--from val-4 --fees 20uregen --chain-id regen-devnet-6-11 -y

Enter keyring passphrase:
Error: invalid address
Usage:
  regen tx ecocredit update-class-admin [class-id] [admin] [flags]

Flags:

Transaction succeeds if account address is passed directly to the --from flag

regen tx ecocredit update-class-admin C01 regen14x0wyl7r0l2clu6hh34kqaulausvjzs0vzed7u
 --from regen1j0wl83ulvwancndjg5jp3r5l2m8jq0fap88ew0 --fees 20uregen --chain-id regen-devnet-6-11 -y

Enter keyring passphrase:
code: 0
codespace: ""
data: ""
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: '[]'
timestamp: ""
tx: null
txhash: AAE7D789E01177AB4FF3018A8226AF223E8FEB3C4744EAE61A65FC22227CF70B

Version

master


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants