From 189d60a8e42595d2473fde70c7aea4a30c7da3a1 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Tue, 30 Aug 2022 14:30:11 +0200 Subject: [PATCH 1/2] fix: proto generator --- contrib/scripts/protocgen.sh | 3 ++- proto/buf.gen.gogo.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/scripts/protocgen.sh b/contrib/scripts/protocgen.sh index b5c3e00718..4a37148c01 100755 --- a/contrib/scripts/protocgen.sh +++ b/contrib/scripts/protocgen.sh @@ -19,4 +19,5 @@ cd .. cp -r github.com/umee-network/umee/v3/* . rm -rf github.com -go mod tidy +# we need to go mod manuall, because the docker image is still on go1.18 +# go mod tidy diff --git a/proto/buf.gen.gogo.yaml b/proto/buf.gen.gogo.yaml index 2e091cb33e..9c8ba0a4b1 100644 --- a/proto/buf.gen.gogo.yaml +++ b/proto/buf.gen.gogo.yaml @@ -2,7 +2,7 @@ version: v1 plugins: - name: gocosmos out: .. - opt: plugins=grpc,Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/struct.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types - name: grpc-gateway out: .. opt: logtostderr=true,allow_colon_final_segments=true From d0675320c57afac8af8b05db105f0665b5c403bf Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Tue, 30 Aug 2022 20:29:31 +0200 Subject: [PATCH 2/2] Update contrib/scripts/protocgen.sh Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com> --- contrib/scripts/protocgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/scripts/protocgen.sh b/contrib/scripts/protocgen.sh index 4a37148c01..eb1cdaa60f 100755 --- a/contrib/scripts/protocgen.sh +++ b/contrib/scripts/protocgen.sh @@ -19,5 +19,5 @@ cd .. cp -r github.com/umee-network/umee/v3/* . rm -rf github.com -# we need to go mod manuall, because the docker image is still on go1.18 +# we need to go mod manually, because the docker image is still on go1.18 # go mod tidy