From 05f853061643a68e334cec4a31895038c8f98b60 Mon Sep 17 00:00:00 2001 From: Riccardo Montagnin Date: Wed, 7 Jun 2023 14:50:48 -0500 Subject: [PATCH] build(deps): replace github.com/gogo/protobuf with github.com/cosmos/gogoproto --- go.mod | 4 ++-- logging/default.go | 2 +- modules/messages/account_parser.go | 2 +- modules/messages/message_handler.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index efeed500..025fa1fd 100644 --- a/go.mod +++ b/go.mod @@ -7,9 +7,9 @@ require ( github.com/cometbft/cometbft v0.37.1 github.com/cometbft/cometbft-db v0.7.0 github.com/cosmos/cosmos-sdk v0.47.2 + github.com/cosmos/gogoproto v1.4.8 github.com/cosmos/ibc-go/v7 v7.0.1 github.com/go-co-op/gocron v1.13.0 - github.com/gogo/protobuf v1.3.2 github.com/golangci/golangci-lint v1.52.2 github.com/gorilla/mux v1.8.0 github.com/jmoiron/sqlx v1.3.5 @@ -78,7 +78,6 @@ require ( github.com/cosmos/cosmos-proto v1.0.0-beta.2 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/gogoproto v1.4.8 // indirect github.com/cosmos/iavl v0.20.0 // indirect github.com/cosmos/ics23/go v0.9.1-0.20221207100636-b1abd8678aab // indirect github.com/cosmos/ledger-cosmos-go v0.12.1 // indirect @@ -120,6 +119,7 @@ require ( github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gofrs/flock v0.8.1 // indirect github.com/gogo/googleapis v1.4.1 // indirect + github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect diff --git a/logging/default.go b/logging/default.go index 4c314940..da54348c 100644 --- a/logging/default.go +++ b/logging/default.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" tmctypes "github.com/cometbft/cometbft/rpc/core/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/modules/messages/account_parser.go b/modules/messages/account_parser.go index bd2046cf..d38fc599 100644 --- a/modules/messages/account_parser.go +++ b/modules/messages/account_parser.go @@ -4,7 +4,7 @@ import ( "fmt" govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" diff --git a/modules/messages/message_handler.go b/modules/messages/message_handler.go index 6a07b723..9b39a47d 100644 --- a/modules/messages/message_handler.go +++ b/modules/messages/message_handler.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/gogoproto/proto" channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" - "github.com/gogo/protobuf/proto" "github.com/forbole/juno/v5/database" "github.com/forbole/juno/v5/types"