From 4819baec4fd0eaef31d8a77f0b973929fca92cf0 Mon Sep 17 00:00:00 2001 From: "Alisher A. Khassanov" Date: Thu, 28 Sep 2023 19:09:52 +0600 Subject: [PATCH] Set block time to 12 seconds --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 10d454f..0d64051 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -122,7 +122,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // SBP-M1 review: consider effects of block time increasing when migrating from solo chain to parachain (if applicable): https://github.com/paritytech/extended-parachain-template/blob/3bec37d7844880d13e0a1f3253d1402500f83789/runtime/common/src/lib.rs#L22 // SBP-M1 review: note also that `asynchronous backing` is set to reduce parachain block times to 6 // seconds once available -pub const MILLISECS_PER_BLOCK: u64 = 6000; +pub const MILLISECS_PER_BLOCK: u64 = 12_000; // NOTE: Currently it is not possible to change the slot duration after the chain has started. // Attempting to do so will brick block production.