Skip to content

Commit

Permalink
retiring(transaction): legacy amino codec
Browse files Browse the repository at this point in the history
Signed-off-by: Deepanshu Tripathi <[email protected]>
  • Loading branch information
deepanshutr committed Sep 2, 2024
1 parent 8a05d9c commit bcc56b2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions helpers/base/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ func (module module) Name() string {
func (module module) GetTransactions() helpers.Transactions {
return module.transactions
}
func (module module) RegisterLegacyAminoCodec(legacyAmino *sdkCodec.LegacyAmino) {
for _, transaction := range module.transactionsPrototype().Get() {
transaction.RegisterLegacyAminoCodec(legacyAmino)
}
}
func (module module) RegisterLegacyAminoCodec(_ *sdkCodec.LegacyAmino) {}
func (module module) RegisterInterfaces(interfaceRegistry types.InterfaceRegistry) {
for _, transaction := range module.transactionsPrototype().Get() {
transaction.RegisterInterfaces(interfaceRegistry)
Expand Down

0 comments on commit bcc56b2

Please sign in to comment.