Unverified Commit 761b4a07 authored by Joshy Orndorff's avatar Joshy Orndorff Committed by GitHub
Browse files

Expose paras config in rococo runtime (#2886)



* Add it in rococo runtime

* Add to rococo chain spec

* bump spec version

* Update runtime/rococo/src/lib.rs
Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
parent 27301a34
Pipeline #134711 failed with stages
in 24 minutes and 37 seconds
......@@ -890,6 +890,10 @@ fn rococo_staging_testnet_config_genesis(wasm_binary: &[u8]) -> rococo_runtime::
pallet_sudo: rococo_runtime::SudoConfig {
key: endowed_accounts[0].clone(),
},
parachains_paras: rococo_runtime::ParasConfig {
paras: vec![],
_phdata: Default::default(),
},
parachains_configuration: rococo_runtime::ParachainsConfigurationConfig {
config: polkadot_runtime_parachains::configuration::HostConfiguration {
validation_upgrade_frequency: 1u32,
......@@ -1483,6 +1487,10 @@ pub fn rococo_testnet_genesis(
..Default::default()
},
},
parachains_paras: rococo_runtime::ParasConfig {
paras: vec![],
_phdata: Default::default(),
},
}
}
......
......@@ -214,7 +214,7 @@ construct_runtime! {
Inclusion: parachains_inclusion::{Pallet, Call, Storage, Event<T>},
ParasInherent: parachains_paras_inherent::{Pallet, Call, Storage, Inherent},
Scheduler: parachains_scheduler::{Pallet, Call, Storage},
Paras: parachains_paras::{Pallet, Call, Storage, Event},
Paras: parachains_paras::{Pallet, Call, Storage, Event, Config<T>},
Initializer: parachains_initializer::{Pallet, Call, Storage},
Dmp: parachains_dmp::{Pallet, Call, Storage},
Ump: parachains_ump::{Pallet, Call, Storage},
......
Supports Markdown
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