stargate: Update define-proto.sh to remove unused codec files

This commit is contained in:
willclarktech 2021-02-04 13:46:32 +00:00
parent 69bf3d1e4e
commit 9db0c54e19
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -48,3 +48,10 @@ protoc \
"$THIRD_PARTY_PROTO_DIR/tendermint/types/types.proto" \
"$THIRD_PARTY_PROTO_DIR/tendermint/types/validator.proto" \
"$THIRD_PARTY_PROTO_DIR/tendermint/version/types.proto"
# Remove unnecessary codec files
rm -rf \
src/codec/cosmos_proto/ \
src/codec/gogoproto/ \
src/codec/google/api/ \
src/codec/google/protobuf/descriptor.ts