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 pubkey decoding autocli #16743

Closed
julienrbrt opened this issue Jun 28, 2023 · 1 comment
Closed

Support pubkey decoding autocli #16743

julienrbrt opened this issue Jun 28, 2023 · 1 comment
Assignees
Labels

Comments

@julienrbrt
Copy link
Member

julienrbrt commented Jun 28, 2023

AutoCLI fails when a response contains a pubkey.
This affects auth and staking (#16641 (comment), #16650)

Getting 6:33PM ERR failure when running app err="proto: google.protobuf.Any: unable to resolve \"/cosmos.crypto.ed25519.PubKey\": not found"

ref :#14696 (comment)

@julienrbrt julienrbrt self-assigned this Jun 28, 2023
@github-actions github-actions bot added the needs-triage Issue that needs to be triaged label Jun 28, 2023
@julienrbrt julienrbrt removed the needs-triage Issue that needs to be triaged label Jun 28, 2023
@julienrbrt
Copy link
Member Author

julienrbrt commented Jul 7, 2023

Note for others, when this happens, make sure to use a blank import so that the types are registered and present in the global types registry.

For instance, for this issue, the following blank imports have been added to auth.

import (
	_ "cosmossdk.io/api/cosmos/crypto/secp256k1"
	_ "cosmossdk.io/api/cosmos/crypto/secp256r1"
)

@julienrbrt julienrbrt added T:Bug and removed T:Bug labels Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant