Relaunch Rococo (#4577)

* changed Rococos epoch to 1h

* Changed assigned_slots parameters to match ecosystem needs

* Update rococo chain spec

Co-authored-by: Santi Balaguer <santiago.balaguer@gmail.com>
This commit is contained in:
Bastian Köcher
2021-12-25 08:46:51 +01:00
committed by GitHub
parent 48dc675047
commit 1d80a05ff0
3 changed files with 170 additions and 154 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -36,7 +36,7 @@ pub mod time {
pub const MILLISECS_PER_BLOCK: Moment = 6000;
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
frame_support::parameter_types! {
pub storage EpochDurationInBlocks: BlockNumber = 10 * MINUTES;
pub storage EpochDurationInBlocks: BlockNumber = 1 * HOURS;
}
// These time units are defined in number of blocks.
+3 -3
View File
@@ -802,9 +802,9 @@ impl parachains_initializer::Config for Runtime {
impl paras_sudo_wrapper::Config for Runtime {}
parameter_types! {
pub const PermanentSlotLeasePeriodLength: u32 = 26;
pub const TemporarySlotLeasePeriodLength: u32 = 1;
pub const MaxPermanentSlots: u32 = 5;
pub const PermanentSlotLeasePeriodLength: u32 = 356;
pub const TemporarySlotLeasePeriodLength: u32 = 3;
pub const MaxPermanentSlots: u32 = 25;
pub const MaxTemporarySlots: u32 = 20;
pub const MaxTemporarySlotPerLeasePeriod: u32 = 5;
}