From 6a92ed694eed7bb85fbc1d1707983a557992ec0a Mon Sep 17 00:00:00 2001 From: Amaury Martiny Date: Thu, 1 Oct 2020 18:59:32 +0200 Subject: [PATCH] proto register "cosmos.base.v1beta.Msg" interface (#7433) --- codec/types/interface_registry.go | 2 +- types/codec.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codec/types/interface_registry.go b/codec/types/interface_registry.go index 9ba10cfdb3..8bdb8168f5 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 2735c2f021..5d1bf40e4c 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)) }