Expand description
Crate used for testing with Cumulus.
Re-exports§
pub use cumulus_test_runtime as runtime;
pub use chain_spec::*;
Modules§
- bench_
utils - Utilities used for benchmarking
- chain_
spec
Structs§
- Failing
Recovery Handle - Recovery handle that fails regularly to simulate unavailable povs.
- Test
Node - A Cumulus test node instance used for testing.
- Test
Node Builder - A builder to create a
TestNode
.
Enums§
Functions§
- construct_
extrinsic - Construct an extrinsic that can be applied to the test runtime.
- fetch_
nonce - Fetch account nonce for key pair
- new_
partial - Starts a
ServiceBuilder
for a full service. - node_
config - Create a Cumulus
Configuration
. - run_
relay_ chain_ validator_ node - Run a relay-chain validator node.
- start_
node_ impl - Start a node with the given parachain
Configuration
and relay chainConfiguration
.
Type Aliases§
- Announce
Block Fn - The signature of the announce block fn.
- Backend
- The backend type being used by the test service.
- Client
- The client type being used by the test service.
- Parachain
Block Import - The block-import type being used by the test service.
- Service
- Assembly of PartialComponents (enough to run chain ops subcommands)
- Transaction
Pool - Transaction pool type used by the test service