Expand description
Types and macros useful for writing an application contract.
Structs§
- Mock
Contract Runtime - A mock of the common runtime to interface with the host executing the contract.
Functions§
- run_
async_ entrypoint - Runs an asynchronous entrypoint in a blocking manner, by repeatedly polling the entrypoint future.
Type Aliases§
- Contract
Runtime - Inside tests, use the
MockContractRuntime
instead of the realContractRuntime
.