From 31e75b9b3edb92fef3bca7d04933811225c86b41 Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Mon, 17 Jun 2024 17:17:00 -0400 Subject: [PATCH] sct: set default `epoch_duration` to `17280` --- crates/core/component/sct/src/params.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/core/component/sct/src/params.rs b/crates/core/component/sct/src/params.rs index 07419015e9..e5acf500eb 100644 --- a/crates/core/component/sct/src/params.rs +++ b/crates/core/component/sct/src/params.rs @@ -34,11 +34,12 @@ impl From for pb::SctParameters { } } -// TODO(erwan): defaults are implemented here as well as in the `pd::main` impl Default for SctParameters { fn default() -> Self { Self { - epoch_duration: 719, + // Measured in blocks, assuming a 5s block time + // this is about a day worth of blocks. + epoch_duration: 17280, } } }