good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit ada46b03 authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

allow snap sync for mumbai chain (#4208)

* save

* mumbai
parent d9ed3078
Branches
Tags
No related merge requests found
......@@ -27,9 +27,9 @@ var Bsc = fromToml(bsc)
var ropsten []byte
var Ropsten = fromToml(ropsten)
//go:embed erigon-snapshots/bor-mainnet.toml
var borMainnet []byte
var BorMainnet = fromToml(borMainnet)
//go:embed erigon-snapshots/mumbai.toml
var mumbai []byte
var Mumbai = fromToml(mumbai)
type PreverifiedItem struct {
Name string
......@@ -59,7 +59,7 @@ var (
GoerliChainSnapshotConfig = newConfig(Goerli)
BscChainSnapshotConfig = newConfig(Bsc)
RopstenChainSnapshotConfig = newConfig(Ropsten)
BorMainnetChainSnapshotConfig = newConfig(BorMainnet)
MumbaiChainSnapshotConfig = newConfig(Mumbai)
)
func newConfig(preverified Preverified) *Config {
......@@ -111,8 +111,8 @@ func KnownConfig(networkName string) *Config {
return BscChainSnapshotConfig
case networkname.RopstenChainName:
return RopstenChainSnapshotConfig
case networkname.BorMainnetChainName:
return BorMainnetChainSnapshotConfig
case networkname.MumbaiChainName:
return MumbaiChainSnapshotConfig
default:
return newConfig(Preverified{})
}
......
Subproject commit 830048bc8aeb9f6759275553006e8743f4f0189a
Subproject commit 556c0ac3d58aae931bb404c8fb9aa3101503bb48
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment