mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
sepolia block snaspshots (#6626)
This commit is contained in:
parent
c28c96bea7
commit
bb2bec2439
@ -258,7 +258,8 @@ type Sync struct {
|
||||
|
||||
// Chains where snapshots are enabled by default
|
||||
var ChainsWithSnapshots = map[string]struct{}{
|
||||
networkname.MainnetChainName: {},
|
||||
networkname.MainnetChainName: {},
|
||||
//networkname.SepoliaChainName: {},
|
||||
networkname.BSCChainName: {},
|
||||
networkname.GoerliChainName: {},
|
||||
networkname.MumbaiChainName: {},
|
||||
|
@ -14,6 +14,7 @@ import (
|
||||
|
||||
var (
|
||||
Mainnet = fromToml(snapshothashes.Mainnet)
|
||||
Sepolia = fromToml(snapshothashes.Sepolia)
|
||||
Goerli = fromToml(snapshothashes.Goerli)
|
||||
Bsc = fromToml(snapshothashes.Bsc)
|
||||
Mumbai = fromToml(snapshothashes.Mumbai)
|
||||
@ -21,6 +22,7 @@ var (
|
||||
Gnosis = fromToml(snapshothashes.Gnosis)
|
||||
|
||||
MainnetHistory = fromToml(snapshothashes.MainnetHistory)
|
||||
SepoliaHistory = fromToml(snapshothashes.SepoliaHistory)
|
||||
GoerliHistory = fromToml(snapshothashes.GoerliHistory)
|
||||
BscHistory = fromToml(snapshothashes.BscHistory)
|
||||
MumbaiHistory = fromToml(snapshothashes.MumbaiHistory)
|
||||
@ -53,6 +55,7 @@ func doSort(in preverified) Preverified {
|
||||
|
||||
var (
|
||||
MainnetChainSnapshotCfg = newCfg(Mainnet, MainnetHistory)
|
||||
SepoliaChainSnapshotCfg = newCfg(Sepolia, SepoliaHistory)
|
||||
GoerliChainSnapshotCfg = newCfg(Goerli, GoerliHistory)
|
||||
BscChainSnapshotCfg = newCfg(Bsc, BscHistory)
|
||||
MumbaiChainSnapshotCfg = newCfg(Mumbai, MumbaiHistory)
|
||||
@ -102,6 +105,7 @@ type Cfg struct {
|
||||
|
||||
var KnownCfgs = map[string]*Cfg{
|
||||
networkname.MainnetChainName: MainnetChainSnapshotCfg,
|
||||
networkname.SepoliaChainName: SepoliaChainSnapshotCfg,
|
||||
networkname.GoerliChainName: GoerliChainSnapshotCfg,
|
||||
networkname.BSCChainName: BscChainSnapshotCfg,
|
||||
networkname.MumbaiChainName: MumbaiChainSnapshotCfg,
|
||||
|
Loading…
Reference in New Issue
Block a user