From 99bbedf5509e93b0017afd58e7f06437b7c8d65d Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Thu, 2 May 2024 18:08:43 +0400 Subject: [PATCH] feat: enable querying state through grpc (#3423) 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 --- app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 050ad41c93..1eacb992a5 100644 --- a/app/app.go +++ b/app/app.go @@ -700,7 +700,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) {