Skip to content

Commit

Permalink
feat: enable querying state through grpc (#3423)
Browse files Browse the repository at this point in the history
Closes: #3422

We seemed to have forgotten to add the query function which means
`ABCIQuery` wasn't working even although the grpc endpoint was exposed

also related to: #3421

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
(cherry picked from commit 99bbedf)
  • Loading branch information
cmwaters authored and mergify[bot] committed May 2, 2024
1 parent 603c1cc commit 0619f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ func (app *App) RegisterTxService(clientCtx client.Context) {

// RegisterTendermintService implements the Application.RegisterTendermintService method.
func (app *App) RegisterTendermintService(clientCtx client.Context) {
tmservice.RegisterTendermintService(clientCtx, app.BaseApp.GRPCQueryRouter(), app.interfaceRegistry, nil)
tmservice.RegisterTendermintService(clientCtx, app.BaseApp.GRPCQueryRouter(), app.interfaceRegistry, app.Query)
}

func (app *App) RegisterNodeService(clientCtx client.Context) {
Expand Down

0 comments on commit 0619f75

Please sign in to comment.