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

Support validator addresses in autocli #16767

Closed
julienrbrt opened this issue Jun 29, 2023 · 0 comments · Fixed by #16768
Closed

Support validator addresses in autocli #16767

julienrbrt opened this issue Jun 29, 2023 · 0 comments · Fixed by #16768
Labels

Comments

@julienrbrt
Copy link
Member

julienrbrt commented Jun 29, 2023

AutoCLI fails when setting a validator address. We need to use a different address codec for field annotated with cosmos.ValidatorAddressString (possibly ConsensusAddressString too??).

6:29PM ERR failure when running app err="invalid argument \"cosmosvaloper1hzktuc7un3uvrem2fdh2kw4vwzkxum6pv83h5c\" for \"--0\" flag: invalid bech32 account address: hrp does not match bech32 prefix: expected 'cosmos' got 'cosmosvaloper': internal logic error [cosmos/cosmos-sdk@v0.51.0/x/auth/codec/bech32_codec.go:37]" when trying to get a validator.

Originally posted by @julienrbrt in #16641 (comment)

@github-actions github-actions bot added the needs-triage Issue that needs to be triaged label Jun 29, 2023
@julienrbrt julienrbrt added T:Bug and removed needs-triage Issue that needs to be triaged labels Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant