core, params: update Holesky testnet to relaunched spec (#28191)

pull/28192/head
Péter Szilágyi 1 year ago committed by GitHub
parent 82ec555d70
commit 323542af50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      core/genesis.go
  2. 3
      params/config.go

@ -587,10 +587,9 @@ func DefaultHoleskyGenesisBlock() *Genesis {
return &Genesis{ return &Genesis{
Config: params.HoleskyChainConfig, Config: params.HoleskyChainConfig,
Nonce: 0x1234, Nonce: 0x1234,
ExtraData: hexutil.MustDecode("0x686f77206d7563682069732074686520666973683f"),
GasLimit: 0x17d7840, GasLimit: 0x17d7840,
Difficulty: big.NewInt(0x01), Difficulty: big.NewInt(0x01),
Timestamp: 1694786100, Timestamp: 1695902100,
Alloc: decodePrealloc(holeskyAllocData), Alloc: decodePrealloc(holeskyAllocData),
} }
} }

@ -80,8 +80,7 @@ var (
TerminalTotalDifficulty: big.NewInt(0), TerminalTotalDifficulty: big.NewInt(0),
TerminalTotalDifficultyPassed: true, TerminalTotalDifficultyPassed: true,
MergeNetsplitBlock: nil, MergeNetsplitBlock: nil,
ShanghaiTime: newUint64(1694790240), ShanghaiTime: newUint64(1696000704),
CancunTime: newUint64(2000000000),
Ethash: new(EthashConfig), Ethash: new(EthashConfig),
} }
// SepoliaChainConfig contains the chain parameters to run a node on the Sepolia test network. // SepoliaChainConfig contains the chain parameters to run a node on the Sepolia test network.

Loading…
Cancel
Save