Skip to content

Commit dfd4039

Browse files
authored
feat: schedule Darwin hard fork (#963)
1 parent 2ba5ea3 commit dfd4039

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

params/config.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ var (
3939
ScrollMainnetGenesisHash = common.HexToHash("0xbbc05efd412b7cd47a2ed0e5ddfcf87af251e414ea4c801d78b6784513180a80")
4040
)
4141

42+
func newUint64(val uint64) *uint64 { return &val }
43+
4244
// TrustedCheckpoints associates each known checkpoint with the genesis hash of
4345
// the chain it belongs to.
4446
var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint{
@@ -320,7 +322,7 @@ var (
320322
ShanghaiBlock: big.NewInt(0),
321323
BernoulliBlock: big.NewInt(3747132),
322324
CurieBlock: big.NewInt(4740239),
323-
DarwinTime: nil,
325+
DarwinTime: newUint64(1723622400),
324326
Clique: &CliqueConfig{
325327
Period: 3,
326328
Epoch: 30000,
@@ -359,7 +361,7 @@ var (
359361
ShanghaiBlock: big.NewInt(0),
360362
BernoulliBlock: big.NewInt(5220340),
361363
CurieBlock: big.NewInt(7096836),
362-
DarwinTime: nil,
364+
DarwinTime: newUint64(1724227200),
363365
Clique: &CliqueConfig{
364366
Period: 3,
365367
Epoch: 30000,

params/version.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323

2424
const (
2525
VersionMajor = 5 // Major version component of the current release
26-
VersionMinor = 5 // Minor version component of the current release
27-
VersionPatch = 22 // Patch version component of the current release
26+
VersionMinor = 6 // Minor version component of the current release
27+
VersionPatch = 0 // Patch version component of the current release
2828
VersionMeta = "mainnet" // Version metadata to append to the version string
2929
)
3030

0 commit comments

Comments
 (0)