Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockOrFail ¶
NewBlockOrFail returns a block created from msgData. Signals test failure if creation fails.
NB: NewBlockOrFail accepts a msgData parameter to avoid non-determinism in tests. Generating random block data could potentially result in unexpected behavior in tests. Thus, it is left up to the caller to select the msgData that will determine the blocks key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.