diff --git a/chain/tokenfactory/types/codec.go b/chain/tokenfactory/types/codec.go index 452c1509..a1391f3f 100644 --- a/chain/tokenfactory/types/codec.go +++ b/chain/tokenfactory/types/codec.go @@ -37,7 +37,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { var ( amino = codec.NewLegacyAmino() - ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) + ModuleCdc = codec.NewAminoCodec(amino) ) func init() {