From 34f6f8e08b545aaa9cddacec44b1ff323b3a61ca Mon Sep 17 00:00:00 2001 From: Potuz Date: Fri, 9 Feb 2024 11:28:46 -0300 Subject: [PATCH] add mainnet fork epoch --- config/params/mainnet_config.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config/params/mainnet_config.go b/config/params/mainnet_config.go index 2ebc35508965..ea6e71799d7d 100644 --- a/config/params/mainnet_config.go +++ b/config/params/mainnet_config.go @@ -23,7 +23,10 @@ const ( mainnetAltairForkEpoch = 74240 // Oct 27, 2021, 10:56:23am UTC // Bellatrix Fork Epoch for mainnet config. mainnetBellatrixForkEpoch = 144896 // Sept 6, 2022, 11:34:47am UTC - mainnetDenebForkEpoch = math.MaxUint64 + // Capella Fork Epoch for mainnet config. + mainnetCapellaForkEpoch = 194048 // April 12, 2023, 22:27:35 UTC + // Deneb Fork Epoch for mainnet config. + mainnetDenebForkEpoch = 269568 // March 13, 2024, 13:55:35 UTC ) var mainnetNetworkConfig = &NetworkConfig{ @@ -202,9 +205,9 @@ var mainnetBeaconConfig = &BeaconChainConfig{ BellatrixForkVersion: []byte{2, 0, 0, 0}, BellatrixForkEpoch: mainnetBellatrixForkEpoch, CapellaForkVersion: []byte{3, 0, 0, 0}, - CapellaForkEpoch: 194048, + CapellaForkEpoch: mainnetCapellaForkEpoch, DenebForkVersion: []byte{4, 0, 0, 0}, - DenebForkEpoch: math.MaxUint64, + DenebForkEpoch: mainnetDenebForkEpoch, // New values introduced in Altair hard fork 1. // Participation flag indices.