Skip to content

third_party protos are missing in 0.46.0 #12991

Closed
@webmaster128

Description

I'm trying to upgrade Cosmos SDK proto types from 0.45.3 to 0.46.0 for cosmjs-types, a proto -> TypeScript code generator. Unfortunately since the upgrade, third_party proto files are not found anymore.

cosmos_proto/cosmos.proto: File not found.
gogoproto/gogo.proto: File not found.
google/protobuf/any.proto:35:1: Import "gogoproto/gogo.proto" was not found or had errors.
cosmos/auth/v1beta1/auth.proto:4:1: Import "cosmos_proto/cosmos.proto" was not found or had errors.
cosmos/auth/v1beta1/auth.proto:5:1: Import "gogoproto/gogo.proto" was not found or had errors.
cosmos/auth/v1beta1/auth.proto:6:1: Import "google/protobuf/any.proto" was not found or had errors.
cosmos/auth/v1beta1/auth.proto:21:3: "google.protobuf.Any" is not defined.

Turns out the files were included here but are now missing.

I tried to get them locally using make proto-update-deps but the sed command seems to be GNU sed specific and fails on Mac. Also not all URLs have versions pinned so that approach would risk using different version than the SDK.

I wonder, was the removal of those files intended? For me it would be great if they were shipped with the cosmos-sdk source code as before.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions