Expand description
Testing blockchain utilities. These can only be used inside tests and are not available for a wasm32 target.
Modules§
Structs§
- VMContext
Builder - Simple VMContext builder that allows to quickly create custom context in tests.
Functions§
- accounts
- Returns a pre-defined account_id from a list of 6.
- get_
created_ receipts - Accessing receipts created by the contract. Only available in unit tests.
- get_
logs - Returns a copy of logs from VMLogic. Only available in unit tests.
- testing_
env_ with_ promise_ results Deprecated - Initializes the
MockedBlockchain
with a single promise result during execution.