mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
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:
parent
93cdbae2e5
commit
63628618eb
@ -261,7 +261,6 @@ type Sync struct {
|
|||||||
// Chains where snapshots are enabled by default
|
// Chains where snapshots are enabled by default
|
||||||
var ChainsWithSnapshots = map[string]struct{}{
|
var ChainsWithSnapshots = map[string]struct{}{
|
||||||
networkname.MainnetChainName: {},
|
networkname.MainnetChainName: {},
|
||||||
networkname.HoleskyChainName: {},
|
|
||||||
networkname.SepoliaChainName: {},
|
networkname.SepoliaChainName: {},
|
||||||
networkname.GoerliChainName: {},
|
networkname.GoerliChainName: {},
|
||||||
networkname.MumbaiChainName: {},
|
networkname.MumbaiChainName: {},
|
||||||
|
@ -13,6 +13,5 @@
|
|||||||
"mergeForkBlock": 0,
|
"mergeForkBlock": 0,
|
||||||
"terminalTotalDifficulty": 0,
|
"terminalTotalDifficulty": 0,
|
||||||
"terminalTotalDifficultyPassed": true,
|
"terminalTotalDifficultyPassed": true,
|
||||||
"shanghaiTime": 1694884704,
|
"shanghaiTime": 1694884704
|
||||||
"cancunTime": 2000000000
|
|
||||||
}
|
}
|
@ -286,6 +286,7 @@ func IsChainPoS(chainConfig *chain.Config, currentTDProvider func() *big.Int) bo
|
|||||||
func isChainIDPoS(chainID *big.Int) bool {
|
func isChainIDPoS(chainID *big.Int) bool {
|
||||||
ids := []*big.Int{
|
ids := []*big.Int{
|
||||||
MainnetChainConfig.ChainID,
|
MainnetChainConfig.ChainID,
|
||||||
|
HoleskyChainConfig.ChainID,
|
||||||
GoerliChainConfig.ChainID,
|
GoerliChainConfig.ChainID,
|
||||||
SepoliaChainConfig.ChainID,
|
SepoliaChainConfig.ChainID,
|
||||||
GnosisChainConfig.ChainID,
|
GnosisChainConfig.ChainID,
|
||||||
|
Loading…
Reference in New Issue
Block a user