Skip to content

Commit

Permalink
Update parachain IDs (#89)
Browse files Browse the repository at this point in the history
* Change paraId 1000 > 2105

* Darwinia paraId 2046
  • Loading branch information
jiguantong authored Dec 5, 2022
1 parent 15ae806 commit 124031d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions node/src/chain_spec/crab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn development_config() -> ChainSpec {
array_bytes::hex_n_into_unchecked(ETHAN),
array_bytes::hex_n_into_unchecked(FAITH),
],
1000.into(),
2105.into(),
)
},
Vec::new(),
Expand All @@ -88,7 +88,7 @@ pub fn development_config() -> ChainSpec {
Some(properties),
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
para_id: 2105,
},
)
}
Expand Down Expand Up @@ -129,7 +129,7 @@ pub fn local_testnet_config() -> ChainSpec {
array_bytes::hex_n_into_unchecked(ETHAN),
array_bytes::hex_n_into_unchecked(FAITH),
],
1000.into(),
2105.into(),
)
},
// Bootnodes
Expand All @@ -145,7 +145,7 @@ pub fn local_testnet_config() -> ChainSpec {
// Extensions
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
para_id: 2105,
},
)
}
Expand Down
8 changes: 4 additions & 4 deletions node/src/chain_spec/darwinia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn development_config() -> ChainSpec {
array_bytes::hex_n_into_unchecked(ETHAN),
array_bytes::hex_n_into_unchecked(FAITH),
],
1000.into(),
2046.into(),
)
},
Vec::new(),
Expand All @@ -88,7 +88,7 @@ pub fn development_config() -> ChainSpec {
Some(properties),
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
para_id: 2046,
},
)
}
Expand Down Expand Up @@ -129,7 +129,7 @@ pub fn local_testnet_config() -> ChainSpec {
array_bytes::hex_n_into_unchecked(ETHAN),
array_bytes::hex_n_into_unchecked(FAITH),
],
1000.into(),
2046.into(),
)
},
// Bootnodes
Expand All @@ -145,7 +145,7 @@ pub fn local_testnet_config() -> ChainSpec {
// Extensions
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
para_id: 2046,
},
)
}
Expand Down
8 changes: 4 additions & 4 deletions node/src/chain_spec/pangolin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn development_config() -> ChainSpec {
array_bytes::hex_n_into_unchecked(ETHAN),
array_bytes::hex_n_into_unchecked(FAITH),
],
1000.into(),
2105.into(),
)
},
Vec::new(),
Expand All @@ -88,7 +88,7 @@ pub fn development_config() -> ChainSpec {
Some(properties),
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
para_id: 2105,
},
)
}
Expand Down Expand Up @@ -129,7 +129,7 @@ pub fn local_testnet_config() -> ChainSpec {
array_bytes::hex_n_into_unchecked(ETHAN),
array_bytes::hex_n_into_unchecked(FAITH),
],
1000.into(),
2105.into(),
)
},
// Bootnodes
Expand All @@ -145,7 +145,7 @@ pub fn local_testnet_config() -> ChainSpec {
// Extensions
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
para_id: 2105,
},
)
}
Expand Down

0 comments on commit 124031d

Please sign in to comment.