Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove legacy msg handlers #1996

Merged
merged 2 commits into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions x/epochs/handler.go

This file was deleted.

2 changes: 1 addition & 1 deletion x/epochs/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,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
61 changes: 0 additions & 61 deletions x/gamm/handler.go

This file was deleted.

2 changes: 1 addition & 1 deletion x/gamm/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry) {

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

// QuerierRoute returns the gamm module's querier route name.
Expand Down
31 changes: 0 additions & 31 deletions x/incentives/handler.go

This file was deleted.

2 changes: 1 addition & 1 deletion x/incentives/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,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
34 changes: 0 additions & 34 deletions x/lockup/handler.go

This file was deleted.

2 changes: 1 addition & 1 deletion x/lockup/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,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
43 changes: 0 additions & 43 deletions x/superfluid/handler.go

This file was deleted.

2 changes: 1 addition & 1 deletion x/superfluid/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,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