From 05c06e2b757caffdd8671995f97e30bcfd28c060 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 11 Jan 2024 13:18:22 +0100 Subject: [PATCH] Use 2000 as default para id --- cumulus/test/service/src/cli.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cumulus/test/service/src/cli.rs b/cumulus/test/service/src/cli.rs index 9abac7710f6f..87d1d4af8a95 100644 --- a/cumulus/test/service/src/cli.rs +++ b/cumulus/test/service/src/cli.rs @@ -17,7 +17,7 @@ use std::{net::SocketAddr, path::PathBuf}; use cumulus_client_cli::{ExportGenesisHeadCommand, ExportGenesisWasmCommand}; -use polkadot_service::{ChainSpec, PrometheusConfig}; +use polkadot_service::{ChainSpec, ParaId, PrometheusConfig}; use sc_cli::{ CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result as CliResult, SharedParams, SubstrateCli, @@ -253,7 +253,8 @@ impl SubstrateCli for TestCollatorCli { fn load_spec(&self, id: &str) -> std::result::Result, String> { Ok(match id { - "" => Box::new(cumulus_test_service::get_chain_spec(None)) as Box<_>, + "" => + Box::new(cumulus_test_service::get_chain_spec(Some(ParaId::from(2000)))) as Box<_>, path => { let chain_spec = cumulus_test_service::chain_spec::ChainSpec::from_json_file(path.into())?;