Expand description

Testing blockchain utilities. These can only be used inside tests and are not available for a wasm32 target.

Modules

Structs

Simple VMContext builder that allows to quickly create custom context in tests.

Functions

Returns a pre-defined account_id from a list of 6.

Accessing receipts created by the contract. Only available in unit tests.

Returns a copy of logs from VMLogic. Only available in unit tests.

Initializes the MockedBlockchain with a single promise result during execution.