prysm-pulse/shared/params/testnet_zinken_config.go

35 lines
1.1 KiB
Go
Raw Normal View History

2020-09-30 18:19:05 +00:00
package params
// UseZinkenNetworkConfig uses the Zinken specific
// network config.
func UseZinkenNetworkConfig() {
cfg := BeaconNetworkConfig().Copy()
cfg.ContractDeploymentBlock = 3488417
2020-09-30 18:19:05 +00:00
cfg.ChainID = 5
cfg.NetworkID = 5
cfg.DepositContractAddress = "0x99F0Ec06548b086E46Cb0019C78D0b9b9F36cD53"
cfg.BootstrapNodes = []string{
// Prysm Bootnode 1
"enr:-Ku4QH63huZ12miIY0kLI9dunG5fwKpnn-zR3XyA_kH6rQpRD1VoyLyzIcFysCJ09JDprdX-EzXp-Nc8swYqBznkXggBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDaNQiCAAAAA___________gmlkgnY0gmlwhBLf22SJc2VjcDI1NmsxoQILqxBY-_SF8o_5FjFD3yM92s50zT_ciFi8hStde5AEjIN1ZHCCH0A",
}
2020-09-30 18:19:05 +00:00
OverrideBeaconNetworkConfig(cfg)
}
// UseZinkenConfig sets the main beacon chain
// config for Zinken.
func UseZinkenConfig() {
beaconConfig = ZinkenConfig()
}
// ZinkenConfig defines the config for the
// Zinken testnet.
func ZinkenConfig() *BeaconChainConfig {
cfg := MainnetConfig().Copy()
cfg.MinGenesisTime = 1602504000
2020-09-30 18:19:05 +00:00
cfg.GenesisDelay = 345600
cfg.GenesisForkVersion = []byte{0x00, 0x00, 0x00, 0x03}
cfg.NetworkName = "zinken"
cfg.MinGenesisActiveValidatorCount = 1024
return cfg
}