File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
"net"
7
7
"testing"
8
8
9
+ "github.com/cosmos/gogoproto/proto"
9
10
"github.com/spf13/cobra"
10
11
"google.golang.org/grpc"
11
12
"google.golang.org/grpc/credentials/insecure"
@@ -27,7 +28,6 @@ import (
27
28
"github.com/cosmos/cosmos-sdk/types/msgservice"
28
29
"github.com/cosmos/cosmos-sdk/x/bank"
29
30
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
30
- "github.com/cosmos/gogoproto/proto"
31
31
)
32
32
33
33
type fixture struct {
@@ -74,11 +74,9 @@ func initFixture(t *testing.T) *fixture {
74
74
75
75
conn := & testClientConn {ClientConn : clientConn }
76
76
77
+ // using merged registry to get pulsar + gogo files
77
78
mergedFiles , err := proto .MergedRegistry ()
78
- if err != nil {
79
- t .Log ("failed to get merged files, using global files" )
80
- mergedFiles = protoregistry .GlobalFiles
81
- }
79
+ assert .NilError (t , err )
82
80
83
81
b := & Builder {
84
82
Builder : flag.Builder {
You can’t perform that action at this time.
0 commit comments