Skip to content

Commit

Permalink
feat: schedule Darwin hard fork (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thegaram authored Aug 5, 2024
1 parent 2ba5ea3 commit dfd4039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit dfd4039

Please sign in to comment.