Unverified Commit cceb775a authored by Cheng JIANG's avatar Cheng JIANG Committed by GitHub
Browse files

export hrmp config (#4324)

* export hrmp config

* fix build
parent 9d538345
Pipeline #166933 passed with stages
in 38 minutes and 25 seconds
...@@ -361,6 +361,7 @@ fn polkadot_staging_testnet_config_genesis(wasm_binary: &[u8]) -> polkadot::Gene ...@@ -361,6 +361,7 @@ fn polkadot_staging_testnet_config_genesis(wasm_binary: &[u8]) -> polkadot::Gene
claims: polkadot::ClaimsConfig { claims: vec![], vesting: vec![] }, claims: polkadot::ClaimsConfig { claims: vec![], vesting: vec![] },
vesting: polkadot::VestingConfig { vesting: vec![] }, vesting: polkadot::VestingConfig { vesting: vec![] },
treasury: Default::default(), treasury: Default::default(),
hrmp: Default::default(),
configuration: polkadot::ConfigurationConfig { configuration: polkadot::ConfigurationConfig {
config: default_parachains_host_configuration(), config: default_parachains_host_configuration(),
}, },
...@@ -540,6 +541,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Genesi ...@@ -540,6 +541,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Genesi
authority_discovery: westend::AuthorityDiscoveryConfig { keys: vec![] }, authority_discovery: westend::AuthorityDiscoveryConfig { keys: vec![] },
vesting: westend::VestingConfig { vesting: vec![] }, vesting: westend::VestingConfig { vesting: vec![] },
sudo: westend::SudoConfig { key: endowed_accounts[0].clone() }, sudo: westend::SudoConfig { key: endowed_accounts[0].clone() },
hrmp: Default::default(),
configuration: westend::ConfigurationConfig { configuration: westend::ConfigurationConfig {
config: default_parachains_host_configuration(), config: default_parachains_host_configuration(),
}, },
...@@ -737,6 +739,7 @@ fn kusama_staging_testnet_config_genesis(wasm_binary: &[u8]) -> kusama::GenesisC ...@@ -737,6 +739,7 @@ fn kusama_staging_testnet_config_genesis(wasm_binary: &[u8]) -> kusama::GenesisC
claims: kusama::ClaimsConfig { claims: vec![], vesting: vec![] }, claims: kusama::ClaimsConfig { claims: vec![], vesting: vec![] },
vesting: kusama::VestingConfig { vesting: vec![] }, vesting: kusama::VestingConfig { vesting: vec![] },
treasury: Default::default(), treasury: Default::default(),
hrmp: Default::default(),
configuration: kusama::ConfigurationConfig { configuration: kusama::ConfigurationConfig {
config: default_parachains_host_configuration(), config: default_parachains_host_configuration(),
}, },
...@@ -1302,6 +1305,7 @@ pub fn polkadot_testnet_genesis( ...@@ -1302,6 +1305,7 @@ pub fn polkadot_testnet_genesis(
claims: polkadot::ClaimsConfig { claims: vec![], vesting: vec![] }, claims: polkadot::ClaimsConfig { claims: vec![], vesting: vec![] },
vesting: polkadot::VestingConfig { vesting: vec![] }, vesting: polkadot::VestingConfig { vesting: vec![] },
treasury: Default::default(), treasury: Default::default(),
hrmp: Default::default(),
configuration: polkadot::ConfigurationConfig { configuration: polkadot::ConfigurationConfig {
config: default_parachains_host_configuration(), config: default_parachains_host_configuration(),
}, },
...@@ -1386,6 +1390,7 @@ pub fn kusama_testnet_genesis( ...@@ -1386,6 +1390,7 @@ pub fn kusama_testnet_genesis(
claims: kusama::ClaimsConfig { claims: vec![], vesting: vec![] }, claims: kusama::ClaimsConfig { claims: vec![], vesting: vec![] },
vesting: kusama::VestingConfig { vesting: vec![] }, vesting: kusama::VestingConfig { vesting: vec![] },
treasury: Default::default(), treasury: Default::default(),
hrmp: Default::default(),
configuration: kusama::ConfigurationConfig { configuration: kusama::ConfigurationConfig {
config: default_parachains_host_configuration(), config: default_parachains_host_configuration(),
}, },
...@@ -1463,6 +1468,7 @@ pub fn westend_testnet_genesis( ...@@ -1463,6 +1468,7 @@ pub fn westend_testnet_genesis(
authority_discovery: westend::AuthorityDiscoveryConfig { keys: vec![] }, authority_discovery: westend::AuthorityDiscoveryConfig { keys: vec![] },
vesting: westend::VestingConfig { vesting: vec![] }, vesting: westend::VestingConfig { vesting: vec![] },
sudo: westend::SudoConfig { key: root_key }, sudo: westend::SudoConfig { key: root_key },
hrmp: Default::default(),
configuration: westend::ConfigurationConfig { configuration: westend::ConfigurationConfig {
config: default_parachains_host_configuration(), config: default_parachains_host_configuration(),
}, },
...@@ -1533,13 +1539,13 @@ pub fn rococo_testnet_genesis( ...@@ -1533,13 +1539,13 @@ pub fn rococo_testnet_genesis(
membership: Default::default(), membership: Default::default(),
authority_discovery: rococo_runtime::AuthorityDiscoveryConfig { keys: vec![] }, authority_discovery: rococo_runtime::AuthorityDiscoveryConfig { keys: vec![] },
sudo: rococo_runtime::SudoConfig { key: root_key.clone() }, sudo: rococo_runtime::SudoConfig { key: root_key.clone() },
hrmp: Default::default(),
configuration: rococo_runtime::ConfigurationConfig { configuration: rococo_runtime::ConfigurationConfig {
config: polkadot_runtime_parachains::configuration::HostConfiguration { config: polkadot_runtime_parachains::configuration::HostConfiguration {
max_validators_per_core: Some(1), max_validators_per_core: Some(1),
..default_parachains_host_configuration() ..default_parachains_host_configuration()
}, },
}, },
hrmp: Default::default(),
paras: rococo_runtime::ParasConfig { paras: vec![] }, paras: rococo_runtime::ParasConfig { paras: vec![] },
registrar: rococo_runtime::RegistrarConfig { registrar: rococo_runtime::RegistrarConfig {
next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID, next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID,
......
...@@ -1552,7 +1552,7 @@ construct_runtime! { ...@@ -1552,7 +1552,7 @@ construct_runtime! {
Initializer: parachains_initializer::{Pallet, Call, Storage} = 57, Initializer: parachains_initializer::{Pallet, Call, Storage} = 57,
Dmp: parachains_dmp::{Pallet, Call, Storage} = 58, Dmp: parachains_dmp::{Pallet, Call, Storage} = 58,
Ump: parachains_ump::{Pallet, Call, Storage, Event} = 59, Ump: parachains_ump::{Pallet, Call, Storage, Event} = 59,
Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event<T>} = 60, Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event<T>, Config} = 60,
ParaSessionInfo: parachains_session_info::{Pallet, Storage} = 61, ParaSessionInfo: parachains_session_info::{Pallet, Storage} = 61,
// Parachain Onboarding Pallets. Start indices at 70 to leave room. // Parachain Onboarding Pallets. Start indices at 70 to leave room.
......
...@@ -1355,7 +1355,7 @@ construct_runtime! { ...@@ -1355,7 +1355,7 @@ construct_runtime! {
Initializer: parachains_initializer::{Pallet, Call, Storage} = 57, Initializer: parachains_initializer::{Pallet, Call, Storage} = 57,
Dmp: parachains_dmp::{Pallet, Call, Storage} = 58, Dmp: parachains_dmp::{Pallet, Call, Storage} = 58,
Ump: parachains_ump::{Pallet, Call, Storage, Event} = 59, Ump: parachains_ump::{Pallet, Call, Storage, Event} = 59,
Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event<T>} = 60, Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event<T>, Config} = 60,
ParaSessionInfo: parachains_session_info::{Pallet, Storage} = 61, ParaSessionInfo: parachains_session_info::{Pallet, Storage} = 61,
// Parachain Onboarding Pallets. Start indices at 70 to leave room. // Parachain Onboarding Pallets. Start indices at 70 to leave room.
......
...@@ -1101,7 +1101,7 @@ construct_runtime! { ...@@ -1101,7 +1101,7 @@ construct_runtime! {
Initializer: parachains_initializer::{Pallet, Call, Storage} = 48, Initializer: parachains_initializer::{Pallet, Call, Storage} = 48,
Dmp: parachains_dmp::{Pallet, Call, Storage} = 49, Dmp: parachains_dmp::{Pallet, Call, Storage} = 49,
Ump: parachains_ump::{Pallet, Call, Storage, Event} = 50, Ump: parachains_ump::{Pallet, Call, Storage, Event} = 50,
Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event<T>} = 51, Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event<T>, Config} = 51,
ParaSessionInfo: parachains_session_info::{Pallet, Storage} = 52, ParaSessionInfo: parachains_session_info::{Pallet, Storage} = 52,
// Parachain Onboarding Pallets. Start indices at 60 to leave room. // Parachain Onboarding Pallets. Start indices at 60 to leave room.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment