Skip to main content

Crate zombienet_sdk

Crate zombienet_sdk 

Source

Re-exports§

pub use snapshot::Bundle;
pub use snapshot::BundleBuilder;
pub use snapshot::SnapshotManifest;
pub use orchestrator::sc_chain_spec;
pub use subxt;
pub use subxt_signer;

Modules§

environment
Helpers functions to get configuration (e.g. Provider and images) from the env vars
generators
Generator that could be handy from outside
snapshot
Bundle per-node DB snapshots into a single uploadable artifact.
tx_helper
Helpers used for interact with the network

Structs§

AddCollatorOptions
AddNodeOptions
AttachToLiveNetwork
CustomProcess
Represent a custom process to spawn, allowing to set: cmd: Command to execute args: Argumnets to pass env: Environment to set image: Image to use (provider specific)
CustomProcessBuilder
A node configuration builder, used to build a [NodeConfig] declaratively with fields validation.
GlobalSettings
Global settings applied to an entire network.
GlobalSettingsBuilder
A global settings builder, used to build GlobalSettings declaratively with fields validation.
JamNetworkNode
A running JAM node.
Jamchain
The JAM chain of a network, and the nodes running it.
LocalFileSystem
Network
NetworkConfig
A network configuration, composed of a relaychain (or a JAM chain), parachains and HRMP channels.
NetworkConfigBuilder
A network configuration builder, used to build a NetworkConfig declaratively with fields validation.
NetworkNode
A substrate-based node (relaychain node or collator).
Orchestrator
RunScriptOptions

Enums§

Arg
A CLI argument passed to an executed command.
AssetLocation
A location for a locally or remotely stored asset. It can be constructed from an url::Url, a std::path::PathBuf or an &str.
Buildable
NodeKind
Which flavour of node a SpawnedNode is.
OrchestratorError
RegistrationStrategy
The registration strategy that will be used for the parachain.

Constants§

PROVIDERS

Traits§

AttachToLive
NetworkConfigExt
SpawnedNode
Behaviour shared by every node zombienet spawns, regardless of what it runs.

Type Aliases§

ExecutionResult