github.com/prysmaticlabs/prysm@v1.4.4/shared/params/testnet_pyrmont_config.go (about) 1 package params 2 3 // UsePyrmontNetworkConfig uses the Pyrmont specific 4 // network config. 5 func UsePyrmontNetworkConfig() { 6 cfg := BeaconNetworkConfig().Copy() 7 cfg.ContractDeploymentBlock = 3743587 8 cfg.BootstrapNodes = []string{ 9 "enr:-Ku4QOA5OGWObY8ep_x35NlGBEj7IuQULTjkgxC_0G1AszqGEA0Wn2RNlyLFx9zGTNB1gdFBA6ZDYxCgIza1uJUUOj4Dh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDVTPWXAAAgCf__________gmlkgnY0gmlwhDQPSjiJc2VjcDI1NmsxoQM6yTQB6XGWYJbI7NZFBjp4Yb9AYKQPBhVrfUclQUobb4N1ZHCCIyg", 10 "enr:-Ku4QOksdA2tabOGrfOOr6NynThMoio6Ggka2oDPqUuFeWCqcRM2alNb8778O_5bK95p3EFt0cngTUXm2H7o1jkSJ_8Dh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDVTPWXAAAgCf__________gmlkgnY0gmlwhDaa13aJc2VjcDI1NmsxoQKdNQJvnohpf0VO0ZYCAJxGjT0uwJoAHbAiBMujGjK0SoN1ZHCCIyg", 11 } 12 OverrideBeaconNetworkConfig(cfg) 13 } 14 15 // UsePyrmontConfig sets the main beacon chain 16 // config for Pyrmont. 17 func UsePyrmontConfig() { 18 beaconConfig = PyrmontConfig() 19 } 20 21 // PyrmontConfig defines the config for the 22 // Pyrmont testnet. 23 func PyrmontConfig() *BeaconChainConfig { 24 cfg := MainnetConfig().Copy() 25 cfg.MinGenesisTime = 1605700800 26 cfg.GenesisDelay = 432000 27 cfg.ConfigName = ConfigNames[Pyrmont] 28 cfg.GenesisForkVersion = []byte{0x00, 0x00, 0x20, 0x09} 29 cfg.SecondsPerETH1Block = 14 30 cfg.DepositChainID = 5 31 cfg.DepositNetworkID = 5 32 cfg.DepositContractAddress = "0x8c5fecdC472E27Bc447696F431E425D02dd46a8c" 33 return cfg 34 }