From f80dc0ac23d830f9cd7e8236219dd73f9bfc57bc Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Mon, 25 Apr 2022 17:54:27 -0400 Subject: [PATCH] feat: implement ABCI Query via gRPC (#11642) --- app.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app.go b/app.go index 8e9b94075df8..b592b1eb3cf6 100644 --- a/app.go +++ b/app.go @@ -7,8 +7,6 @@ import ( "os" "path/filepath" - "github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar" - "github.com/gorilla/mux" "github.com/rakyll/statik/fs" "github.com/spf13/cast" @@ -29,6 +27,7 @@ import ( simappparams "github.com/cosmos/cosmos-sdk/simapp/params" "github.com/cosmos/cosmos-sdk/store/streaming" storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/version" @@ -598,7 +597,12 @@ func (app *SimApp) RegisterTxService(clientCtx client.Context) { // RegisterTendermintService implements the Application.RegisterTendermintService method. func (app *SimApp) RegisterTendermintService(clientCtx client.Context) { - tmservice.RegisterTendermintService(app.BaseApp.GRPCQueryRouter(), clientCtx, app.interfaceRegistry) + tmservice.RegisterTendermintService( + clientCtx, + app.BaseApp.GRPCQueryRouter(), + app.interfaceRegistry, + app.Query, + ) } // RegisterSwaggerAPI registers swagger route with API Server