Closed
Description
opened on Aug 22, 2022
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.
Metadata
Assignees
Labels
No labels
Activity