add more notes on changing epoch duration (#8491)

* add more notes on changing epoch duration

* add note about changing slot duration
This commit is contained in:
Alexander Popiak
2021-04-06 12:09:04 +02:00
committed by GitHub
parent 00432a5ab7
commit bf8a1d8a1a
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -326,6 +326,8 @@ impl pallet_scheduler::Config for Runtime {
}
parameter_types! {
// NOTE: Currently it is not possible to change the epoch duration after the chain has started.
// Attempting to do so will brick block production.
pub const EpochDuration: u64 = EPOCH_DURATION_IN_SLOTS;
pub const ExpectedBlockTime: Moment = MILLISECS_PER_BLOCK;
pub const ReportLongevity: u64 =