From 1c94fbeafc729a6392b69f0e5ff1fbe43d290234 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Mon, 5 Sep 2022 08:30:12 +0200 Subject: [PATCH] Get paraId from configured SOURCE_PARACHAIN_PARA_ID (#1564) --- bridges/relays/bin-substrate/src/cli/relay_parachains.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bridges/relays/bin-substrate/src/cli/relay_parachains.rs b/bridges/relays/bin-substrate/src/cli/relay_parachains.rs index 09251972587d..94b856019f95 100644 --- a/bridges/relays/bin-substrate/src/cli/relay_parachains.rs +++ b/bridges/relays/bin-substrate/src/cli/relay_parachains.rs @@ -91,7 +91,9 @@ where source_client, target_client, ParachainSyncParams { - parachains: vec![ParaId(2000)], + parachains: vec![ + ParaId(::SOURCE_PARACHAIN_PARA_ID) + ], stall_timeout: std::time::Duration::from_secs(60), strategy: parachains_relay::parachains_loop::ParachainSyncStrategy::Any, },