Skip to content

Commit

Permalink
add parachain_id args
Browse files Browse the repository at this point in the history
  • Loading branch information
zjb0807 committed Nov 19, 2021
1 parent 9fe6d6d commit f6c1fc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/integration-tests/src/relaychain/kusama_test_net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ decl_test_parachain! {
pub struct Sibling {
Runtime = Runtime,
Origin = Origin,
new_ext = sibling_ext(),
new_ext = sibling_ext(2001),
}
}

Expand Down Expand Up @@ -140,9 +140,9 @@ pub fn karura_ext() -> sp_io::TestExternalities {
.build()
}

pub fn sibling_ext() -> sp_io::TestExternalities {
pub fn sibling_ext(parachain_id: u32) -> sp_io::TestExternalities {
ExtBuilder::default()
.balances(vec![(AccountId::from(ALICE), KAR, 10 * dollar(KAR))])
.parachain_id(2001)
.parachain_id(parachain_id)
.build()
}

0 comments on commit f6c1fc1

Please sign in to comment.