github.com/prysmaticlabs/prysm@v1.4.4/shared/params/testnet_toledo_config.go (about) 1 package params 2 3 // UseToledoNetworkConfig uses the Toledo specific 4 // network config. 5 func UseToledoNetworkConfig() { 6 cfg := BeaconNetworkConfig().Copy() 7 cfg.ContractDeploymentBlock = 3702432 8 cfg.BootstrapNodes = []string{ 9 // Prysm Bootnode 1 10 "enr:-Ku4QL5E378NT4-vqP6v1mZ7kHxiTHJvuBvQixQsuTTCffa0PJNWMBlG3Mduvsvd6T2YP1U3l5tBKO5H-9wyX2SCtPkBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpC4EvfsAHAe0P__________gmlkgnY0gmlwhDaetEeJc2VjcDI1NmsxoQKtGC2CAuba7goLLdle899M3esUmoWRvzi7GBVhq6ViCYN1ZHCCIyg", 11 } 12 OverrideBeaconNetworkConfig(cfg) 13 } 14 15 // UseToledoConfig sets the main beacon chain 16 // config for Toledo testnet. 17 func UseToledoConfig() { 18 beaconConfig = ToledoConfig() 19 } 20 21 // ToledoConfig defines the config for the 22 // Toledo testnet. 23 func ToledoConfig() *BeaconChainConfig { 24 cfg := MainnetConfig().Copy() 25 cfg.MinGenesisTime = 1605009600 26 cfg.GenesisDelay = 86400 27 cfg.GenesisForkVersion = []byte{0x00, 0x70, 0x1E, 0xD0} 28 cfg.ConfigName = ConfigNames[Toledo] 29 cfg.SecondsPerETH1Block = 14 30 cfg.DepositChainID = 5 31 cfg.DepositNetworkID = 5 32 cfg.DepositContractAddress = "0x47709dC7a8c18688a1f051761fc34ac253970bC0" 33 return cfg 34 }