Skip to content

Commit

Permalink
remove Handler types (#162)
Browse files Browse the repository at this point in the history
* remove unused handler

* remove transfer handler

* changelog
  • Loading branch information
colin-axner authored May 10, 2021
1 parent 07d8747 commit 67bcf56
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 123 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

### API Breaking

* (modules) [\#162](https://github.com/cosmos/ibc-go/pull/162) Remove deprecated Handler types in core IBC and the ICS 20 transfer module.
* (modules/core) [\#161](https://github.com/cosmos/ibc-go/pull/161) Remove Type(), Route(), GetSignBytes() from 02-client, 03-connection, and 04-channel messages.
* (modules) [\#140](https://github.com/cosmos/ibc-go/pull/140) IsFrozen() client state interface changed to Status(). gRPC `ClientStatus` route added.
* (modules/core) [\#109](https://github.com/cosmos/ibc-go/pull/109) Remove connection and channel handshake CLI commands.
Expand Down
23 changes: 0 additions & 23 deletions modules/apps/transfer/handler.go

This file was deleted.

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

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

// QuerierRoute implements the AppModule interface
Expand Down
File renamed without changes.
98 changes: 0 additions & 98 deletions modules/core/handler.go

This file was deleted.

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

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

// QuerierRoute returns the ibc module's querier route name.
Expand Down

0 comments on commit 67bcf56

Please sign in to comment.