Change the input for the polkadot-omni-node to be a path to chain-spec

This commit is contained in:
Omar Abdulla
2026-01-13 13:31:54 +03:00
parent d38e6d419d
commit 92effaf6c0
4 changed files with 19 additions and 60 deletions
+4 -5
View File
@@ -943,13 +943,12 @@ pub struct PolkadotOmnichainNodeConfiguration {
)]
pub block_time: Duration,
/// The path of the WASM runtime to use for the polkadot-omni-node. This argument is required if
/// the polkadot-omni-node is one of the selected platforms for running the tests or benchmarks.
/// The path of the chainspec of the chain that we're spawning
#[clap(
id = "polkadot-omni-node.runtime-wasm-path",
long = "polkadot-omni-node.runtime-wasm-path"
id = "polkadot-omni-node.chain-spec-path",
long = "polkadot-omni-node.chain-spec-path"
)]
pub runtime_wasm_path: Option<PathBuf>,
pub chain_spec_path: Option<PathBuf>,
/// The ID of the parachain that the polkadot-omni-node will spawn. This argument is required if
/// the polkadot-omni-node is one of the selected platforms for running the tests or benchmarks.