Skip to content

Commit

Permalink
- fix missing grpc register of query for dyncomm
Browse files Browse the repository at this point in the history
  • Loading branch information
StrathCole committed Nov 8, 2023
1 parent 95b9728 commit 95431ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/dyncomm/module.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package dyncomm

import (
"context"
"encoding/json"
"fmt"
"math/rand"
Expand Down Expand Up @@ -79,7 +80,9 @@ func (AppModuleBasic) ValidateGenesis(codec.JSONCodec, client.TxEncodingConfig,
}

// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the dyncomm module.
func (AppModuleBasic) RegisterGRPCGatewayRoutes(client.Context, *runtime.ServeMux) {}
func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) {
_ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx))
}

// GetTxCmd returns the root tx command for the oracle module.
func (AppModuleBasic) GetTxCmd() *cobra.Command {
Expand Down

0 comments on commit 95431ae

Please sign in to comment.