Change the input for the polkadot-omni-node to be a path to chain-spec (#223)

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

* Remove unneeded dependency
This commit is contained in:
Omar
2026-01-14 14:59:21 +03:00
committed by GitHub
parent 2d3602aaed
commit 94b04c0189
5 changed files with 19 additions and 61 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.