refactor: migrate to cosmos/gogoproto (backport #9356) (#9381)

* refactor: migrate to `cosmos/gogoproto` (#9356)

* refactor: migrate to `cosmos/gogoproto`

* add changelog

* Update Makefile

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* update link

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* `go mod tidy`

Co-authored-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Julien Robert
2022-09-07 13:46:25 -04:00
committed by GitHub
co-authored by Thane Thomson
parent 98ed397745
commit 4626bc949d
84 changed files with 199 additions and 347 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ package protoio
import (
"io"
"github.com/gogo/protobuf/proto"
"github.com/cosmos/gogoproto/proto"
)
type Writer interface {
+2 -2
View File
@@ -37,8 +37,8 @@ import (
"testing"
"time"
"github.com/gogo/protobuf/proto"
"github.com/gogo/protobuf/test"
"github.com/cosmos/gogoproto/proto"
"github.com/cosmos/gogoproto/test"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/libs/protoio"
+1 -1
View File
@@ -36,7 +36,7 @@ import (
"fmt"
"io"
"github.com/gogo/protobuf/proto"
"github.com/cosmos/gogoproto/proto"
)
// NewDelimitedReader reads varint-delimited Protobuf messages from a reader.
+1 -1
View File
@@ -35,7 +35,7 @@ import (
"encoding/binary"
"io"
"github.com/gogo/protobuf/proto"
"github.com/cosmos/gogoproto/proto"
)
// NewDelimitedWriter writes a varint-delimited Protobuf message to a writer. It is