diff --git a/codec/types/interface_registry.go b/codec/types/interface_registry.go index 9ba10cfdb..8bdb8168f 100644 --- a/codec/types/interface_registry.go +++ b/codec/types/interface_registry.go @@ -33,7 +33,7 @@ type InterfaceRegistry interface { // as implementations of iface. // // Ex: - // registry.RegisterInterface("cosmos.v1beta1.Msg", (*sdk.Msg)(nil)) + // registry.RegisterInterface("cosmos.base.v1beta1.Msg", (*sdk.Msg)(nil)) RegisterInterface(protoName string, iface interface{}, impls ...proto.Message) // RegisterImplementations registers impls as concrete implementations of diff --git a/types/codec.go b/types/codec.go index 2735c2f02..5d1bf40e4 100644 --- a/types/codec.go +++ b/types/codec.go @@ -13,5 +13,5 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { // RegisterInterfaces registers the sdk message type. func RegisterInterfaces(registry types.InterfaceRegistry) { - registry.RegisterInterface("cosmos.v1beta1.Msg", (*Msg)(nil)) + registry.RegisterInterface("cosmos.base.v1beta1.Msg", (*Msg)(nil)) }