Skip to content

Commit

Permalink
wip: update tests and initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
boodyvo committed Oct 28, 2024
1 parent 15f1577 commit 4bc8eda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions encoding/codec/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package codec

import (
"fmt"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/std"
Expand All @@ -27,6 +28,7 @@ import (

// RegisterLegacyAminoCodec registers Interfaces from types, crypto, and SDK std.
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
fmt.Println("RegisterLegacyAminoCodec inside encoding/codec")
sdk.RegisterLegacyAminoCodec(cdc)
cryptocodec.RegisterCrypto(cdc)
ethermint.RegisterLegacyAminoCodec(cdc)
Expand All @@ -35,6 +37,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {

// RegisterInterfaces registers Interfaces from types, crypto, and SDK std.
func RegisterInterfaces(interfaceRegistry codectypes.InterfaceRegistry) {
fmt.Println("RegisterInterfaces inside encoding/codec")
std.RegisterInterfaces(interfaceRegistry)
cryptocodec.RegisterInterfaces(interfaceRegistry)
ethermint.RegisterInterfaces(interfaceRegistry)
Expand Down

0 comments on commit 4bc8eda

Please sign in to comment.