referrerpolicy=no-referrer-when-downgrade

Module client

Source
Expand description

Utilities to build a TestClient for kitchensink-runtime.

Modules§

client
Re-export test-client utilities. Substrate Client and associated logic.
client_ext
Re-export test-client utilities. Client extension for tests.
sc_client_db
Re-export test-client utilities. Client backend that is backed by a database.
sc_executor
Re-export test-client utilities. A crate that provides means of executing/dispatching calls into the runtime.
sp_consensus
Re-export test-client utilities. Common utilities for building and using consensus engines in substrate.

Structs§

ExecutionExtensions
Re-export test-client utilities. A producer of execution extensions for offchain calls.
GenesisParameters
Genesis configuration parameters for TestClient.
RpcHandlers
Re-export test-client utilities. A running RPC service that can perform in-memory RPC queries.
RpcTransactionError
Re-export test-client utilities. An error for when the RPC call fails.
RpcTransactionOutput
Re-export test-client utilities. The output of an RPC transaction.
Storage
Re-export test-client utilities. Struct containing data needed for a storage.
StorageChild
Re-export test-client utilities. Child trie storage data.
TestClientBuilder
Re-export test-client utilities. A builder for creating a test client instance.
WasmExecutor
Re-export test-client utilities. An abstraction over Wasm code executor. Supports selecting execution backend and manages runtime cache.

Enums§

BlockOrigin
Re-export test-client utilities. Block data origin.
BlocksPruning
Re-export test-client utilities. Block pruning settings.
Ed25519Keyring
Re-export test-client utilities. Set of test accounts.
Sr25519Keyring
Re-export test-client utilities. Set of test accounts.
WasmExecutionMethod
Re-export test-client utilities. Specification of different methods of executing the runtime Wasm code.

Traits§

BlockchainEventsExt
Re-export test-client utilities. An extension trait for BlockchainEvents.
ClientBlockImportExt
Re-export test-client utilities. Extension trait for a test client around block importing.
ClientExt
Re-export test-client utilities. Extension trait for a test client.
GenesisInit
Re-export test-client utilities. A genesis storage initialization trait.
Keystore
Re-export test-client utilities. Something that generates, stores and provides access to secret keys.
RpcHandlersExt
Re-export test-client utilities. An extension trait for RpcHandlers.
TestClientBuilderExt
A test-runtime extensions to TestClientBuilder.

Type Aliases§

Backend
Default backend type.
BadBlocks
Re-export test-client utilities. Known bad block hashes.
Client
Test client type.
ForkBlocks
Re-export test-client utilities. Expected hashes of blocks at given heights.
KeystorePtr
Re-export test-client utilities. A shared pointer to a keystore implementation.