Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SDK allows invalid protobuf string #23967

Open
fmorency opened this issue Mar 12, 2025 · 0 comments
Open

SDK allows invalid protobuf string #23967

fmorency opened this issue Mar 12, 2025 · 0 comments
Labels
needs-triage Issue that needs to be triaged

Comments

@fmorency
Copy link
Contributor

I reported #22414 last year and would like to continue the discussion.

TL;DR: The protobuf library used by CosmosSDK (gogoproto) doesn't enforce UTF-8 check on string. This behavior breaks the Protobuf specification and upstream projects, e.g., Yet Another Cosmos Indexer, relying on the official Go protobuf library.

I still believe this is wrong and would like to discuss a migration path towards enabling this check and conforming to the protobuf specification.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
needs-triage Issue that needs to be triaged
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant