Skip to content

Commit

Permalink
DEBUG: Modify EPOCH_DURATION
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Nov 20, 2024
1 parent c93ce63 commit 6684bf3
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 @@ -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
}

Expand Down

0 comments on commit 6684bf3

Please sign in to comment.