Cumulus companion for substrate #10463 (#870)

* Companion for substrate #10463

* update lockfile for substrate

* update lockfile for polkadot

Co-authored-by: parity-processbot <>
This commit is contained in:
Adrian Catangiu
2022-01-05 22:33:23 +02:00
committed by GitHub
parent 57d04e0fc8
commit 76fdc9d11a
4 changed files with 275 additions and 251 deletions
+259 -251
View File
File diff suppressed because it is too large Load Diff
@@ -105,6 +105,7 @@ pub fn development_config() -> ChainSpec {
None,
None,
None,
None,
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
@@ -161,6 +162,8 @@ pub fn local_testnet_config() -> ChainSpec {
None,
// Protocol ID
Some("template-local"),
// Fork ID
None,
// Properties
Some(properties),
// Extensions
@@ -98,6 +98,7 @@ pub fn get_chain_spec() -> ChainSpec {
None,
None,
None,
None,
Extensions { relay_chain: "westend".into(), para_id: 1000 },
)
}
@@ -112,6 +113,7 @@ pub fn get_shell_chain_spec() -> ShellChainSpec {
None,
None,
None,
None,
Extensions { relay_chain: "westend".into(), para_id: 1000 },
)
}
@@ -131,6 +133,7 @@ pub fn get_seedling_chain_spec() -> SeedlingChainSpec {
None,
None,
None,
None,
Extensions { relay_chain: "westend".into(), para_id: 2000 },
)
}
@@ -161,6 +164,7 @@ pub fn staging_test_net() -> ChainSpec {
None,
None,
None,
None,
Extensions { relay_chain: "westend".into(), para_id: 1000 },
)
}
@@ -295,6 +299,7 @@ pub fn statemint_development_config() -> StatemintChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "polkadot-dev".into(), para_id: 1000 },
)
@@ -344,6 +349,7 @@ pub fn statemint_local_config() -> StatemintChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "polkadot-local".into(), para_id: 1000 },
)
@@ -420,6 +426,7 @@ pub fn statemine_development_config() -> StatemineChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "kusama-dev".into(), para_id: 1000 },
)
@@ -470,6 +477,7 @@ pub fn statemine_local_config() -> StatemineChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "kusama-local".into(), para_id: 1000 },
)
@@ -523,6 +531,7 @@ pub fn statemine_config() -> StatemineChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "kusama".into(), para_id: 1000 },
)
@@ -601,6 +610,7 @@ pub fn westmint_development_config() -> WestmintChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "westend".into(), para_id: 1000 },
)
@@ -651,6 +661,7 @@ pub fn westmint_local_config() -> WestmintChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "westend-local".into(), para_id: 1000 },
)
@@ -705,6 +716,7 @@ pub fn westmint_config() -> WestmintChainSpec {
Vec::new(),
None,
None,
None,
Some(properties),
Extensions { relay_chain: "westend".into(), para_id: 1000 },
)
+1
View File
@@ -90,6 +90,7 @@ pub fn get_chain_spec(id: ParaId) -> ChainSpec {
None,
None,
None,
None,
Extensions { para_id: id.into() },
)
}