From c30251ebcc893754336756416c44cc4739e67e25 Mon Sep 17 00:00:00 2001 From: riccardo <106812074+riccardo-gnosis@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:58:04 +0200 Subject: [PATCH] fix genesis value for gnosis --- pkg/spec/constants.go | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pkg/spec/constants.go b/pkg/spec/constants.go index d93b866..16e69f9 100644 --- a/pkg/spec/constants.go +++ b/pkg/spec/constants.go @@ -4,26 +4,25 @@ const ( MainnetGenesis = 1606824023 SepoliaGenesis = 1655733600 HoleskyGenesis = 1695902400 - GnosisGenesis = 1638968400 + GnosisGenesis = 1638993340 ) // Specific Constants for Mainnet configuration const ( - MainnetBaseRewardFactor = 64 - MainnetSlotsPerEpoch = 32 - MainnetSlotSeconds = 12 - MainnetEpochSlots = 32 + MainnetBaseRewardFactor = 64 + MainnetSlotsPerEpoch = 32 + MainnetSlotSeconds = 12 + MainnetEpochSlots = 32 ) // Specific Constants for Gnosis configuration const ( - GnosisBaseRewardFactor = 25 - GnosisSlotsPerEpoch = 16 - GnosisSlotSeconds = 5 - GnosisEpochSlots = 16 + GnosisBaseRewardFactor = 25 + GnosisSlotsPerEpoch = 16 + GnosisSlotSeconds = 5 + GnosisEpochSlots = 16 ) - /* Phase0 */ @@ -41,12 +40,13 @@ const ( AttTargetFlagIndex = 1 AttHeadFlagIndex = 2 ) + // make this dynamic... fixed to Gnosis for now const ( - BaseRewardFactor = 25 - SlotsPerEpoch = 16 - SlotSeconds = 5 - EpochSlots = 16 + BaseRewardFactor = 25 + SlotsPerEpoch = 16 + SlotSeconds = 5 + EpochSlots = 16 ) /*