proto register "cosmos.base.v1beta.Msg" interface (#7433)
This commit is contained in:
parent
92ffed01bb
commit
6a92ed694e
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue