Skip to content

Commit

Permalink
Set block time to 12 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Sep 28, 2023
1 parent bd1a316 commit 4819bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4819bae

Please sign in to comment.