From 6684bf368bd1d1f146ee2103bd831388fad5ae16 Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Wed, 20 Nov 2024 14:13:53 +0200 Subject: [PATCH] DEBUG: Modify EPOCH_DURATION --- 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 461ff812..9f3dab10 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -160,7 +160,7 @@ const BLOCKS_FOR_FASTER_EPOCH: u32 = if cfg!(feature = "devnet") { 2 * HOURS } e pub const EPOCH_DURATION_IN_BLOCKS: u32 = prod_or_fast!(12 * HOURS, BLOCKS_FOR_FASTER_EPOCH); parameter_types! { - pub const EpochDuration: u64 = EPOCH_DURATION_IN_BLOCKS as u64; // Q: how long to make an epoch + pub const EpochDuration: u64 = 6 * HOURS; // Q: how long to make an epoch pub const ExpectedBlockTime: u64 = MILLISECS_PER_BLOCK; // Q: block time }