Expand description
Client testing utilities.
Re-exports§
pub use self::client_ext::ClientBlockImportExt;
pub use self::client_ext::ClientExt;
pub use sc_client_db;
pub use sc_executor;
pub use sp_consensus;
Modules§
- client
- Substrate Client and associated logic.
- client_
ext - Client extension for tests.
Structs§
- Backend
- Disk backend.
- Execution
Extensions - A producer of execution extensions for offchain calls.
- RpcHandlers
- A running RPC service that can perform in-memory RPC queries.
- RpcTransaction
Error - An error for when the RPC call fails.
- RpcTransaction
Output - The output of an RPC transaction.
- Storage
- Struct containing data needed for a storage.
- Storage
Child - Child trie storage data.
- Test
Client Builder - A builder for creating a test client instance.
- Wasm
Executor - An abstraction over Wasm code executor. Supports selecting execution backend and manages runtime cache.
Enums§
- Block
Origin - Block data origin.
- Blocks
Pruning - Block pruning settings.
- Ed25519
Keyring - Set of test accounts.
- Sr25519
Keyring - Set of test accounts.
- Wasm
Execution Method - Specification of different methods of executing the runtime Wasm code.
Traits§
- Blockchain
Events Ext - An extension trait for
BlockchainEvents
. - Genesis
Init - A genesis storage initialization trait.
- Keystore
- Something that generates, stores and provides access to secret keys.
- RpcHandlers
Ext - An extension trait for
RpcHandlers
.
Type Aliases§
- BadBlocks
- Known bad block hashes.
- Fork
Blocks - Expected hashes of blocks at given heights.
- Keystore
Ptr - A shared pointer to a keystore implementation.