Skip to content

Commit

Permalink
Refactor RegisterQueryServices -> RegisterServices (cosmos#7518)
Browse files Browse the repository at this point in the history
* Refactor RegisterQueryServices -> RegisterServices

* Fix tests
  • Loading branch information
aaronc authored Oct 12, 2020
1 parent e40e3b8 commit 448fdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func NewSimApp(

app.mm.RegisterInvariants(&app.CrisisKeeper)
app.mm.RegisterRoutes(app.Router(), app.QueryRouter(), encodingConfig.Amino)
app.mm.RegisterQueryServices(app.GRPCQueryRouter())
app.mm.RegisterServices(module.NewConfigurator(app.GRPCQueryRouter()))

// add test gRPC service for testing gRPC queries in isolation
testdata.RegisterTestServiceServer(app.GRPCQueryRouter(), testdata.TestServiceImpl{})
Expand Down

0 comments on commit 448fdb6

Please sign in to comment.