Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Service = &proto.ExtensionDesc{ ExtendedType: (*descriptorpb.ServiceOptions)(nil), ExtensionType: (*bool)(nil), Field: 11110000, Name: "cosmos.msg.v1.service", Tag: "varint,11110000,opt,name=service", Filename: "cosmos/msg/v1/msg.proto", }
View Source
var E_Signer = &proto.ExtensionDesc{ ExtendedType: (*descriptorpb.MessageOptions)(nil), ExtensionType: ([]string)(nil), Field: 11110000, Name: "cosmos.msg.v1.signer", Tag: "bytes,11110000,rep,name=signer", Filename: "cosmos/msg/v1/msg.proto", }
Functions ¶
func RegisterMsgServiceDesc ¶
func RegisterMsgServiceDesc(registry codectypes.InterfaceRegistry, sd *grpc.ServiceDesc)
RegisterMsgServiceDesc registers all type_urls from Msg services described in `sd` into the registry.
func ValidateProtoAnnotations ¶ added in v0.50.0
func ValidateProtoAnnotations(protoFiles signing.ProtoFileResolver) error
ValidateAnnotations validates that the proto annotations are correct. More specifically, it verifies: - all services named "Msg" have `(cosmos.msg.v1.service) = true`,
More validations can be added here in the future.
If `protoFiles` is nil, then protoregistry.GlobalFile will be used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.