github.com/prysmaticlabs/prysm@v1.4.4/shared/params/testnet_prater_config.go (about) 1 package params 2 3 import ( 4 eth1Params "github.com/ethereum/go-ethereum/params" 5 ) 6 7 // UsePraterNetworkConfig uses the Prater specific 8 // network config. 9 func UsePraterNetworkConfig() { 10 cfg := BeaconNetworkConfig().Copy() 11 cfg.ContractDeploymentBlock = 4367322 12 cfg.BootstrapNodes = []string{ 13 // Prysm's bootnode 14 "enr:-Ku4QFmUkNp0g9bsLX2PfVeIyT-9WO-PZlrqZBNtEyofOOfLMScDjaTzGxIb1Ns9Wo5Pm_8nlq-SZwcQfTH2cgO-s88Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDkvpOTAAAQIP__________gmlkgnY0gmlwhBLf22SJc2VjcDI1NmsxoQLV_jMOIxKbjHFKgrkFvwDvpexo6Nd58TK5k7ss4Vt0IoN1ZHCCG1g", 15 // Lighthouse's bootnode by Afri 16 "enr:-LK4QH1xnjotgXwg25IDPjrqRGFnH1ScgNHA3dv1Z8xHCp4uP3N3Jjl_aYv_WIxQRdwZvSukzbwspXZ7JjpldyeVDzMCh2F0dG5ldHOIAAAAAAAAAACEZXRoMpB53wQoAAAQIP__________gmlkgnY0gmlwhIe1te-Jc2VjcDI1NmsxoQOkcGXqbCJYbcClZ3z5f6NWhX_1YPFRYRRWQpJjwSHpVIN0Y3CCIyiDdWRwgiMo", 17 // Lighthouse's bootnode by Sigp 18 "enr:-LK4QLINdtobGquK7jukLDAKmsrH2ZuHM4k0TklY5jDTD4ZgfxR9weZmo5Jwu81hlKu3qPAvk24xHGBDjYs4o8f1gZ0Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpB53wQoAAAQIP__________gmlkgnY0gmlwhDRN_P6Jc2VjcDI1NmsxoQJuNujTgsJUHUgVZML3pzrtgNtYg7rQ4K1tkWERgl0DdoN0Y3CCIyiDdWRwgiMo", 19 // Teku's bootnode By Afri 20 "enr:-KG4QCIzJZTY_fs_2vqWEatJL9RrtnPwDCv-jRBuO5FQ2qBrfJubWOWazri6s9HsyZdu-fRUfEzkebhf1nvO42_FVzwDhGV0aDKQed8EKAAAECD__________4JpZIJ2NIJpcISHtbYziXNlY3AyNTZrMaED4m9AqVs6F32rSCGsjtYcsyfQE2K8nDiGmocUY_iq-TSDdGNwgiMog3VkcIIjKA", 21 } 22 OverrideBeaconNetworkConfig(cfg) 23 } 24 25 // UsePraterConfig sets the main beacon chain 26 // config for Prater. 27 func UsePraterConfig() { 28 beaconConfig = PraterConfig() 29 } 30 31 // PraterConfig defines the config for the 32 // Prater testnet. 33 func PraterConfig() *BeaconChainConfig { 34 cfg := MainnetConfig().Copy() 35 cfg.MinGenesisTime = 1614588812 36 cfg.GenesisDelay = 1919188 37 cfg.ConfigName = ConfigNames[Prater] 38 cfg.GenesisForkVersion = []byte{0x00, 0x00, 0x10, 0x20} 39 cfg.SecondsPerETH1Block = 14 40 cfg.DepositChainID = eth1Params.GoerliChainConfig.ChainID.Uint64() 41 cfg.DepositNetworkID = eth1Params.GoerliChainConfig.ChainID.Uint64() 42 cfg.DepositContractAddress = "0xff50ed3d0ec03ac01d4c79aad74928bff48a7b2b" 43 return cfg 44 }