Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExpectations ¶
func CreateExpectations( t *testing.T, block *nodeTypes.BlockData, now time.Time, m cosmosTypes.Msg, position int, txType storageTypes.MsgType, size int, ) storage.Message
CreateExpectations builds the expected storage.Message for a decoded message test. In each test a fresh context is used, so the msgCounter always starts at 0: SetId(0) with height=0 gives id=1.
func MustMsgToMap ¶
func MustMsgToMap(t *testing.T, msg cosmosTypes.Msg) storageTypes.PackedBytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.