Skip to content

Commit

Permalink
Get paraId from configured SOURCE_PARACHAIN_PARA_ID (paritytech#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur authored and serban300 committed Apr 9, 2024
1 parent 35443b5 commit 39ba855
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bridges/relays/bin-substrate/src/cli/relay_parachains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ where
source_client,
target_client,
ParachainSyncParams {
parachains: vec![ParaId(2000)],
parachains: vec![
ParaId(<Self::ParachainFinality as substrate_relay_helper::parachains::SubstrateParachainsPipeline>::SOURCE_PARACHAIN_PARA_ID)
],
stall_timeout: std::time::Duration::from_secs(60),
strategy: parachains_relay::parachains_loop::ParachainSyncStrategy::Any,
},
Expand Down

0 comments on commit 39ba855

Please sign in to comment.