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

This commit is contained in:
willclarktech
2021-02-09 10:48:47 +00:00
parent 69bf3d1e4e
commit 9db0c54e19
@@ -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