delaymsg

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

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

func EncodeMessageToAny(t *testing.T, msg sdk.Msg) *codectypes.Any

EncodeMessageToAny converts a message to an Any object for protobuf encoding.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL