diff --git a/crates/orchestrator/src/shared/constants.rs b/crates/orchestrator/src/shared/constants.rs index acf4701e4..fbae97f1e 100644 --- a/crates/orchestrator/src/shared/constants.rs +++ b/crates/orchestrator/src/shared/constants.rs @@ -8,9 +8,11 @@ pub const RPC_PORT: u16 = 9944; pub const RPC_HTTP_PORT: u16 = 9933; // P2P default port pub const P2P_PORT: u16 = 30333; -// default command template to build chain-spec +// Default command template to export a chain-spec. +// `export-chain-spec` replaced the deprecated `build-spec` CLI in polkadot-sdk. +// Bootnodes are customized after generation, so `--disable-default-bootnode` is unused. pub const DEFAULT_CHAIN_SPEC_TPL_COMMAND: &str = - "{{mainCommand}} build-spec --chain {{chainName}} {{disableBootnodes}}"; + "{{mainCommand}} export-chain-spec --chain {{chainName}}"; // interval to determine how often to run node liveness checks pub const NODE_MONITORING_INTERVAL_SECONDS: u64 = 15; // how long to wait before a node is considered unresponsive