mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-14 06:59:24 +00:00
fix tests
This commit is contained in:
@@ -283,7 +283,7 @@ pub type ReportLongevity = <Runtime as pallet_babe::Config>::EpochDuration;
|
||||
|
||||
impl babe::Config for Runtime {
|
||||
#[cfg(feature = "fast-epoch")]
|
||||
type EpochDuration = ConstU64<{ MINUTES / 2 }>; // 30 seconds
|
||||
type EpochDuration = ConstU64<{ 2 * MINUTES }>;
|
||||
|
||||
#[cfg(not(feature = "fast-epoch"))]
|
||||
type EpochDuration = ConstU64<{ 4 * 7 * DAYS }>;
|
||||
|
||||
Reference in New Issue
Block a user