mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
feat: schedule Darwin hard fork (#963)
This commit is contained in:
parent
2ba5ea3058
commit
dfd4039be7
2 changed files with 6 additions and 4 deletions
|
|
@ -39,6 +39,8 @@ var (
|
||||||
ScrollMainnetGenesisHash = common.HexToHash("0xbbc05efd412b7cd47a2ed0e5ddfcf87af251e414ea4c801d78b6784513180a80")
|
ScrollMainnetGenesisHash = common.HexToHash("0xbbc05efd412b7cd47a2ed0e5ddfcf87af251e414ea4c801d78b6784513180a80")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func newUint64(val uint64) *uint64 { return &val }
|
||||||
|
|
||||||
// TrustedCheckpoints associates each known checkpoint with the genesis hash of
|
// TrustedCheckpoints associates each known checkpoint with the genesis hash of
|
||||||
// the chain it belongs to.
|
// the chain it belongs to.
|
||||||
var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint{
|
var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint{
|
||||||
|
|
@ -320,7 +322,7 @@ var (
|
||||||
ShanghaiBlock: big.NewInt(0),
|
ShanghaiBlock: big.NewInt(0),
|
||||||
BernoulliBlock: big.NewInt(3747132),
|
BernoulliBlock: big.NewInt(3747132),
|
||||||
CurieBlock: big.NewInt(4740239),
|
CurieBlock: big.NewInt(4740239),
|
||||||
DarwinTime: nil,
|
DarwinTime: newUint64(1723622400),
|
||||||
Clique: &CliqueConfig{
|
Clique: &CliqueConfig{
|
||||||
Period: 3,
|
Period: 3,
|
||||||
Epoch: 30000,
|
Epoch: 30000,
|
||||||
|
|
@ -359,7 +361,7 @@ var (
|
||||||
ShanghaiBlock: big.NewInt(0),
|
ShanghaiBlock: big.NewInt(0),
|
||||||
BernoulliBlock: big.NewInt(5220340),
|
BernoulliBlock: big.NewInt(5220340),
|
||||||
CurieBlock: big.NewInt(7096836),
|
CurieBlock: big.NewInt(7096836),
|
||||||
DarwinTime: nil,
|
DarwinTime: newUint64(1724227200),
|
||||||
Clique: &CliqueConfig{
|
Clique: &CliqueConfig{
|
||||||
Period: 3,
|
Period: 3,
|
||||||
Epoch: 30000,
|
Epoch: 30000,
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,8 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
VersionMajor = 5 // Major version component of the current release
|
VersionMajor = 5 // Major version component of the current release
|
||||||
VersionMinor = 5 // Minor version component of the current release
|
VersionMinor = 6 // Minor version component of the current release
|
||||||
VersionPatch = 22 // Patch 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
|
VersionMeta = "mainnet" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue