feat: schedule Darwin hard fork (#963)

This commit is contained in:
Péter Garamvölgyi 2024-08-05 09:13:29 +02:00 committed by GitHub
parent 2ba5ea3058
commit dfd4039be7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View file

@ -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,

View file

@ -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
)