[][src]Module sp_core::offchain::testing

Utilities for offchain calls testing.

Namely all ExecutionExtensions that allow mocking the extra APIs.

Structs

OffchainState

Internal state of the externalities.

PendingRequest

Pending request.

PoolState

The internal state of the fake transaction pool.

TestOffchainExt

Implementation of offchain externalities used for tests.

TestPersistentOffchainDB

Sharable "persistent" offchain storage for test.

TestTransactionPoolExt

Implementation of transaction pool used for test.