From dfd4039be73682cbdd489115cfd236b65c8f08a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Garamv=C3=B6lgyi?= Date: Mon, 5 Aug 2024 09:13:29 +0200 Subject: [PATCH] feat: schedule Darwin hard fork (#963) --- params/config.go | 6 ++++-- params/version.go | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/params/config.go b/params/config.go index 1fcd4c748f80..c211ccd0d499 100644 --- a/params/config.go +++ b/params/config.go @@ -39,6 +39,8 @@ var ( ScrollMainnetGenesisHash = common.HexToHash("0xbbc05efd412b7cd47a2ed0e5ddfcf87af251e414ea4c801d78b6784513180a80") ) +func newUint64(val uint64) *uint64 { return &val } + // TrustedCheckpoints associates each known checkpoint with the genesis hash of // the chain it belongs to. var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint{ @@ -320,7 +322,7 @@ var ( ShanghaiBlock: big.NewInt(0), BernoulliBlock: big.NewInt(3747132), CurieBlock: big.NewInt(4740239), - DarwinTime: nil, + DarwinTime: newUint64(1723622400), Clique: &CliqueConfig{ Period: 3, Epoch: 30000, @@ -359,7 +361,7 @@ var ( ShanghaiBlock: big.NewInt(0), BernoulliBlock: big.NewInt(5220340), CurieBlock: big.NewInt(7096836), - DarwinTime: nil, + DarwinTime: newUint64(1724227200), Clique: &CliqueConfig{ Period: 3, Epoch: 30000, diff --git a/params/version.go b/params/version.go index d2420d58b647..98b880c7a82f 100644 --- a/params/version.go +++ b/params/version.go @@ -23,8 +23,8 @@ import ( const ( VersionMajor = 5 // Major version component of the current release - VersionMinor = 5 // Minor version component of the current release - VersionPatch = 22 // Patch version component of the current release + VersionMinor = 6 // Minor version component of the current release + VersionPatch = 0 // Patch version component of the current release VersionMeta = "mainnet" // Version metadata to append to the version string )