Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions crates/orchestrator/src/shared/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down