Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestAnyMsg ¶
func CreateTestAnyMsg(t *testing.T) *codectypes.Any
CreateTestAnyMsg returns an encoded Any object for an sdk.Msg for testing. This is useful when a valid message is needed, but the message will never be executed.
func EncodeMessageToAny ¶
EncodeMessageToAny converts a message to an Any object for protobuf encoding.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.