mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-16 14:58:46 +00:00
9434d66ad0
* Simplify comparisons * Update Zinken deployment block
35 lines
1.1 KiB
Go
35 lines
1.1 KiB
Go
package params
|
|
|
|
// UseZinkenNetworkConfig uses the Zinken specific
|
|
// network config.
|
|
func UseZinkenNetworkConfig() {
|
|
cfg := BeaconNetworkConfig().Copy()
|
|
cfg.ContractDeploymentBlock = 3488417
|
|
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",
|
|
}
|
|
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
|
|
cfg.GenesisDelay = 345600
|
|
cfg.GenesisForkVersion = []byte{0x00, 0x00, 0x00, 0x03}
|
|
cfg.NetworkName = "zinken"
|
|
cfg.MinGenesisActiveValidatorCount = 1024
|
|
return cfg
|
|
}
|