referrerpolicy=no-referrer-when-downgrade

Crate cumulus_test_service

Source
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§

FailingRecoveryHandle
Recovery handle that fails regularly to simulate unavailable povs.
TestNode
A Cumulus test node instance used for testing.
TestNodeBuilder
A builder to create a TestNode.

Enums§

Consensus
Keyring
Set of test accounts.

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 chain Configuration.

Type Aliases§

AnnounceBlockFn
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.
ParachainBlockImport
The block-import type being used by the test service.
Service
Assembly of PartialComponents (enough to run chain ops subcommands)
TransactionPool
Transaction pool type used by the test service