referrerpolicy=no-referrer-when-downgrade

Crate polkadot_test_service

Source
Expand description

Polkadot test service only.

Re-exports§

pub use chain_spec::*;

Modules§

chain_spec
Chain specifications for the test runtime.

Structs§

PolkadotTestNode
A Polkadot test node instance used for testing.

Traits§

GetLastTimestamp
This runtime API is only implemented for the test runtime!

Functions§

construct_extrinsic
Construct an extrinsic that can be applied to the test runtime.
construct_transfer_extrinsic
Construct a transfer extrinsic.
get_listen_address
Get the listen multiaddr from the network service.
new_full
Create a new full node.
node_config
Create a Polkadot Configuration.
run_collator_node
Run a test collator node that uses the test runtime.
run_validator_node
Run a test validator node that uses the test runtime and specified config.
test_prometheus_config
Returns a prometheus config usable for testing.

Type Aliases§

Client
The client type being used by the test service.
FullBackend