Skip to content

Commit

Permalink
Remove handler.go (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Apr 10, 2023
1 parent 51dc570 commit 0ca7093
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 165 deletions.
56 changes: 0 additions & 56 deletions x/crosschain/handler.go

This file was deleted.

3 changes: 2 additions & 1 deletion x/crosschain/module.go
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"

authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/gorilla/mux"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
Expand Down Expand Up @@ -130,7 +131,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))
return sdk.Route{}
}

// QuerierRoute returns the capability module's query routing key.
Expand Down
23 changes: 0 additions & 23 deletions x/emissions/handler.go

This file was deleted.

3 changes: 2 additions & 1 deletion x/emissions/module.go
Expand Up @@ -3,6 +3,7 @@ package emissions
import (
"encoding/json"
"fmt"

// this line is used by starport scaffolding # 1

"github.com/gorilla/mux"
Expand Down Expand Up @@ -127,7 +128,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, am.bankKeeper))
return sdk.Route{}
}

// QuerierRoute returns the capability module's query routing key.
Expand Down
33 changes: 0 additions & 33 deletions x/fungible/handler.go

This file was deleted.

2 changes: 1 addition & 1 deletion x/fungible/module.go
Expand Up @@ -127,7 +127,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))
return sdk.Route{}
}

// QuerierRoute returns the capability module's query routing key.
Expand Down
32 changes: 0 additions & 32 deletions x/observer/handler.go

This file was deleted.

3 changes: 2 additions & 1 deletion x/observer/module.go
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"

// this line is used by starport scaffolding # 1

"github.com/gorilla/mux"
Expand Down Expand Up @@ -128,7 +129,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))
return sdk.Route{}
}

// QuerierRoute returns the capability module's query routing key.
Expand Down
17 changes: 0 additions & 17 deletions x/observer/types/tmp.json

This file was deleted.

0 comments on commit 0ca7093

Please sign in to comment.