Skip to content

Commit

Permalink
🔥 Remove unneeded handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Nov 15, 2023
1 parent 38e5b22 commit ce46dd3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 115 deletions.
29 changes: 0 additions & 29 deletions x/iscn/handler.go

This file was deleted.

4 changes: 1 addition & 3 deletions x/iscn/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry) {
keeper.RegisterInvariants(ir, am.keeper)
}

func (am AppModule) Route() sdk.Route {
return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper))
}
func (am AppModule) Route() sdk.Route { return sdk.Route{} }

func (AppModule) QuerierRoute() string {
return types.QuerierRoute
Expand Down
80 changes: 0 additions & 80 deletions x/likenft/handler.go

This file was deleted.

4 changes: 1 addition & 3 deletions x/likenft/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ func (am AppModule) Name() string {
}

// Route returns the capability module's message routing key.
func (am AppModule) Route() sdk.Route {
return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper))
}
func (am AppModule) Route() sdk.Route { return sdk.Route{} }

// QuerierRoute returns the capability module's query routing key.
func (AppModule) QuerierRoute() string { return types.QuerierRoute }
Expand Down

0 comments on commit ce46dd3

Please sign in to comment.