Skip to content

Commit

Permalink
remove amino from x/capability (cosmos#7389)
Browse files Browse the repository at this point in the history
* remove amino from x/capability

* remove codec
  • Loading branch information
anilcse authored Sep 25, 2020
1 parent d55c1a2 commit 06b84d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
6 changes: 2 additions & 4 deletions x/capability/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ func (AppModuleBasic) Name() string {
return types.ModuleName
}

// RegisterLegacyAminoCodec registers the capability module's types to the LegacyAmino codec.
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
types.RegisterLegacyAminoCodec(cdc)
}
// RegisterLegacyAminoCodec does nothing. Capability does not support amino.
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {}

// RegisterInterfaces registers the module's interface types
func (a AppModuleBasic) RegisterInterfaces(_ cdctypes.InterfaceRegistry) {}
Expand Down
22 changes: 0 additions & 22 deletions x/capability/types/codec.go

This file was deleted.

0 comments on commit 06b84d9

Please sign in to comment.