From e49793f375f2ba8572d8a1d1fd0308e1c73025d5 Mon Sep 17 00:00:00 2001 From: itsdevbear Date: Thu, 8 Aug 2024 13:59:28 -0400 Subject: [PATCH] bet --- baseapp/grpcrouter_test.go | 2 +- client/v2/go.mod | 2 +- server/start.go | 19 +++++++++---------- store/go.mod | 1 + x/bank/go.mod | 2 +- x/gov/go.mod | 2 +- x/staking/go.mod | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/baseapp/grpcrouter_test.go b/baseapp/grpcrouter_test.go index 512877babfb7..49919307e308 100644 --- a/baseapp/grpcrouter_test.go +++ b/baseapp/grpcrouter_test.go @@ -112,7 +112,7 @@ func TestRegisterQueryServiceTwice(t *testing.T) { // First time registering service shouldn't panic. require.NotPanics(t, func() { - testdata.RegisterQueryServer( + testdata.RegisterQueryServer app.GRPCQueryRouter(), testdata.QueryImpl{}, ) diff --git a/client/v2/go.mod b/client/v2/go.mod index f4beeae7a32b..86b6b4f5fe91 100644 --- a/client/v2/go.mod +++ b/client/v2/go.mod @@ -48,7 +48,7 @@ require ( github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect github.com/cometbft/cometbft v1.0.0-rc1.0.20240806094948-2c4293ef36c4 // indirect github.com/cometbft/cometbft-db v0.13.0 // indirect - github.com/cometbft/cometbft/api v1.0.0-rc1.0.20240806094948-2c4293ef36c4 // indirect + github.com/cometbft/cometbft/api v1.0.0-rc.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.0.2 // indirect github.com/cosmos/crypto v0.1.2 // indirect diff --git a/server/start.go b/server/start.go index 31769c84184a..9fc0cbdb323e 100644 --- a/server/start.go +++ b/server/start.go @@ -43,7 +43,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/server/api" serverconfig "github.com/cosmos/cosmos-sdk/server/config" - servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" servercmtlog "github.com/cosmos/cosmos-sdk/server/log" "github.com/cosmos/cosmos-sdk/server/types" "github.com/cosmos/cosmos-sdk/telemetry" @@ -520,16 +519,16 @@ func startGrpcServer( clientCtx = clientCtx.WithGRPCClient(grpcClient) svrCtx.Logger.Debug("gRPC client assigned to client context", "target", config.Address) - grpcSrv, err := servergrpc.NewGRPCServer(clientCtx, app, config) - if err != nil { - return nil, clientCtx, err - } + // grpcSrv, err := servergrpc.NewGRPCServer(clientCtx, app, config) + // if err != nil { + // return nil, clientCtx, err + // } - // Start the gRPC server in a goroutine. Note, the provided ctx will ensure - // that the server is gracefully shut down. - g.Go(func() error { - return servergrpc.StartGRPCServer(ctx, svrCtx.Logger.With("module", "grpc-server"), config, grpcSrv) - }) + // // Start the gRPC server in a goroutine. Note, the provided ctx will ensure + // // that the server is gracefully shut down. + // g.Go(func() error { + // return servergrpc.StartGRPCServer(ctx, svrCtx.Logger.With("module", "grpc-server"), config, grpcSrv) + // }) return grpcSrv, clientCtx, nil } diff --git a/store/go.mod b/store/go.mod index a5c21ccbc977..e32fb5ff0543 100644 --- a/store/go.mod +++ b/store/go.mod @@ -54,6 +54,7 @@ require ( github.com/linxGnu/grocksdb v1.8.14 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/oklog/run v1.1.0 // indirect diff --git a/x/bank/go.mod b/x/bank/go.mod index 163de470457a..f7ac1313539e 100644 --- a/x/bank/go.mod +++ b/x/bank/go.mod @@ -49,7 +49,7 @@ require ( github.com/cockroachdb/pebble v1.1.1 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cometbft/cometbft-db v0.13.0 // indirect - github.com/cometbft/cometbft/api v1.0.0-rc1.0.20240806094948-2c4293ef36c4 // indirect + github.com/cometbft/cometbft/api v1.0.0-rc.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.0.2 // indirect github.com/cosmos/crypto v0.1.2 // indirect diff --git a/x/gov/go.mod b/x/gov/go.mod index 6c997ac3301d..b8693f097159 100644 --- a/x/gov/go.mod +++ b/x/gov/go.mod @@ -59,7 +59,7 @@ require ( github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect github.com/cometbft/cometbft-db v0.13.0 // indirect - github.com/cometbft/cometbft/api v1.0.0-rc1.0.20240806094948-2c4293ef36c4 // indirect + github.com/cometbft/cometbft/api v1.0.0-rc.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.0.2 // indirect github.com/cosmos/crypto v0.1.2 // indirect diff --git a/x/staking/go.mod b/x/staking/go.mod index fddeadda43ff..f6db74832cc1 100644 --- a/x/staking/go.mod +++ b/x/staking/go.mod @@ -12,7 +12,7 @@ require ( cosmossdk.io/math v1.3.0 cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc github.com/cometbft/cometbft v1.0.0-rc1.0.20240806094948-2c4293ef36c4 - github.com/cometbft/cometbft/api v1.0.0-rc1.0.20240806094948-2c4293ef36c4 + github.com/cometbft/cometbft/api v1.0.0-rc.1 github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.53.0 github.com/cosmos/gogoproto v1.5.0