Small fixes to Holesky config (#8092)

Small fixes to PR #8064:

- Don't set cancunTime for Holesky – otherwise we'll have to overwrite
it later using the `--override.cancun` flag
- We don't have block snapshots for Holesky yet
- Add Holesky to `isChainIDPoS`

See https://github.com/eth-clients/holesky/pull/68
This commit is contained in:
Andrew Ashikhmin 2023-08-29 16:29:14 +02:00 committed by GitHub
parent 93cdbae2e5
commit 63628618eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -261,7 +261,6 @@ type Sync struct {
// Chains where snapshots are enabled by default
var ChainsWithSnapshots = map[string]struct{}{
networkname.MainnetChainName: {},
networkname.HoleskyChainName: {},
networkname.SepoliaChainName: {},
networkname.GoerliChainName: {},
networkname.MumbaiChainName: {},

View File

@ -13,6 +13,5 @@
"mergeForkBlock": 0,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true,
"shanghaiTime": 1694884704,
"cancunTime": 2000000000
"shanghaiTime": 1694884704
}

View File

@ -286,6 +286,7 @@ func IsChainPoS(chainConfig *chain.Config, currentTDProvider func() *big.Int) bo
func isChainIDPoS(chainID *big.Int) bool {
ids := []*big.Int{
MainnetChainConfig.ChainID,
HoleskyChainConfig.ChainID,
GoerliChainConfig.ChainID,
SepoliaChainConfig.ChainID,
GnosisChainConfig.ChainID,