Skip to content

Commit

Permalink
feat: implement ABCI Query via gRPC (cosmos#11642)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez authored Apr 25, 2022
1 parent 8e4fe5e commit f80dc0a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f80dc0a

Please sign in to comment.