Skip to content

Commit

Permalink
Merge pull request #1828 from subspace/restore-correct-slot-duration
Browse files Browse the repository at this point in the history
Restore correct slot duration
  • Loading branch information
nazar-pc authored Aug 16, 2023
2 parents d15ce54 + 9925a4f commit 27740e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub const MILLISECS_PER_BLOCK: u64 = 6000;

// NOTE: Currently it is not possible to change the slot duration after the chain has started.
// Attempting to do so will brick block production.
const SLOT_DURATION: u64 = 2000;
const SLOT_DURATION: u64 = 1000;

/// 1 in 6 slots (on average, not counting collisions) will have a block.
/// Must match ratio between block and slot duration in constants above.
Expand Down

0 comments on commit 27740e2

Please sign in to comment.