Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Holesky = NetworkConfig{ Name: "holesky", Beacon: beacon.NewNetwork(spectypes.HoleskyNetwork), Domain: spectypes.DomainType{0x0, 0x0, 0x5, 0x1}, GenesisEpoch: 1, RegistrySyncOffset: new(big.Int).SetInt64(181612), RegistryContractAddr: "0x38A4794cCEd47d3baf7370CcC43B560D3a1beEFA", Bootnodes: []string{ "enr:-Li4QFIQzamdvTxGJhvcXG_DFmCeyggSffDnllY5DiU47pd_K_1MRnSaJimWtfKJ-MD46jUX9TwgW5Jqe0t4pH41RYWGAYuFnlyth2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhCLdu_SJc2VjcDI1NmsxoQN4v-N9zFYwEqzGPBBX37q24QPFvAVUtokIo1fblIsmTIN0Y3CCE4uDdWRwgg-j", }, WhitelistedOperatorKeys: []string{}, PermissionlessActivationEpoch: 13950, }
View Source
var HoleskyE2E = NetworkConfig{ Name: "holesky-e2e", Beacon: beacon.NewNetwork(spectypes.HoleskyNetwork), Domain: spectypes.DomainType{0x0, 0x0, 0xee, 0x1}, GenesisEpoch: 1, RegistryContractAddr: "0x58410bef803ecd7e63b23664c586a6db72daf59c", RegistrySyncOffset: big.NewInt(405579), Bootnodes: []string{}, }
View Source
var HoleskyStage = NetworkConfig{ Name: "holesky-stage", Beacon: beacon.NewNetwork(spectypes.HoleskyNetwork), Domain: [4]byte{0x00, 0x00, 0x31, 0x12}, GenesisEpoch: 1, RegistrySyncOffset: new(big.Int).SetInt64(84599), RegistryContractAddr: "0x0d33801785340072C452b994496B19f196b7eE15", Bootnodes: []string{ "enr:-Li4QPnPGESWx2wnu3s2qeu6keFbkaV2M0ZiGHgxxGI9ThP4XSgSaFzl6zYsF1zAdni3Mh04iA6BEZqoC6LZ52UFnwKGAYxEgLqeh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhDQiKqmJc2VjcDI1NmsxoQP2e508AoA0B-KH-IaAd3nVCfI9q16lNztV-oTpcH72tIN0Y3CCE4mDdWRwgg-h", }, WhitelistedOperatorKeys: []string{}, PermissionlessActivationEpoch: 10560, }
View Source
var JatoV2 = NetworkConfig{ Name: "jato-v2", Beacon: beacon.NewNetwork(spectypes.PraterNetwork), Domain: spectypes.JatoV2Testnet, GenesisEpoch: 192100, RegistrySyncOffset: new(big.Int).SetInt64(9203578), RegistryContractAddr: "0xC3CD9A0aE89Fff83b71b58b6512D43F8a41f363D", Bootnodes: []string{ "enr:-Li4QLR4Y1VbwiqFYKy6m-WFHRNDjhMDZ_qJwIABu2PY9BHjIYwCKpTvvkVmZhu43Q6zVA29sEUhtz10rQjDJkK3Hd-GAYiGrW2Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhCLdu_SJc2VjcDI1NmsxoQJTcI7GHPw-ZqIflPZYYDK_guurp_gsAFF5Erns3-PAvIN0Y3CCE4mDdWRwgg-h", "enr:-Li4QKQeGeb4yuUkNnVoxT0kjkDcBZN83GRyQkKrQhwqAU7wFitJzjjKIz2IB3Xnwj6hROj7h6Kli1hOmdJ1jVLPDlaGAYj8K5Hvh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDkvpOTAAAQIP__________gmlkgnY0gmlwhJbmcQeJc2VjcDI1NmsxoQIYVg92mRyqn519Og6VA6fdgqeFxKgQO87IX64zJcmqhoN0Y3CCE4iDdWRwgg-g", "enr:-Li4QMCh155TJ9K7xL_2gnmyi9IPQkuqRLG8U5rW1S2wmpukDrFX7WaThIihMRWWizsp-GILZIeqa0nZrmV3tVOVHPKGAYj8ICi3h2F0dG5ldHOIAAAAAAAAAACEZXRoMpDkvpOTAAAQIP__________gmlkgnY0gmlwhDaTS0mJc2VjcDI1NmsxoQMoexiUvxbufU3x0fAQXtbMzM9XIq0Es16K0Hkfa682k4N0Y3CCE4iDdWRwgg-g", "enr:-Li4QAOtGzianKr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ka0laTWt3ZkFUNGZvVjVTKwpvNzFFQ1dFN1ZuaytxcWd0U3k5M0ZTTVJzUG9vNngrTUd4ZURBQ3RQbDdQV1EyTXJmV1hkNzVwV1p5TVd5VndHCktPbFo0RHhoQ0VOcXlRcndlOTkybU9wVDZBcTJ1TmVsUmdESUJDSW1CV01NcUl2aXdhSU96MlBmTWR1L3ZVTWgKcVFuNGJJZjFpcVk2WGlKU1g2bDJvUWlTb09VMjRvNkFCdHlHbzRpTDJXN2tOajVUa1hOOEVzeGc3WmUveVQ0YgpKNGtvVjdmNUE3dmpMbHc1ZkdjWDR1bTBNK1QwbnczUlVIY3pHK1E3U1VGMTFGU3c0VnM1WVBHWC84a2tzdXgyCkx3SURBUUFCCi0tLS0tRU5EIFJTQSBQVUJMSUMgS0VZLS0tLS0K", }, PermissionlessActivationEpoch: 220707, }
View Source
var JatoV2Stage = NetworkConfig{ Name: "jato-v2-stage", Beacon: beacon.NewNetwork(spectypes.PraterNetwork), Domain: [4]byte{0x00, 0x00, 0x30, 0x12}, GenesisEpoch: 152834, RegistrySyncOffset: new(big.Int).SetInt64(9249887), RegistryContractAddr: "0xd6b633304Db2DD59ce93753FA55076DA367e5b2c", Bootnodes: []string{ "enr:-Li4QO86ZMZr_INMW_WQBsP2jS56yjrHnZXxAUOKJz4_qFPKD1Cr3rghQD2FtXPk2_VPnJUi8BBiMngOGVXC0wTYpJGGAYgqnGSNh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDkvpOTAAAQIP__________gmlkgnY0gmlwhArqAsGJc2VjcDI1NmsxoQKNW0Mf-xTXcevRSkZOvoN0Q0T9OkTjGZQyQeOl3bYU3YN0Y3CCE4iDdWRwgg-g", "enr:-Li4QBoH15fXLV78y1_nmD5sODveptALORh568iWLS_eju3SUvF2ZfGE2j-nERKU1zb2g5KlS8L70SRLdRUJ-pHH-fmGAYgvh9oGh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDkvpOTAAAQIP__________gmlkgnY0gmlwhArqAsGJc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3lNeWo4aTk3OVZ2Q0xPL1Z2YnlSVmRvSndCbHoKSG9zcmRoN1UwT0lKYVFmTFVLTDlPUzdpQUM0NlRtalZxa3djeUFDRm90VGh0cS80L1RKcUc4eGwwWHIxTm12UQpaSGxwVDRFU0FOM21JUHY0Wko1NnYzeXFaUUNQYWw2VEkxM3ZhSldnN3krbzRoQURuQmdIdGF5TTRwU1c0Z3FECmdRSURBUUFCCi0tLS0tRU5EIFJTQSBQVUJMSUMgS0VZLS0tLS0K", }, }
View Source
var LocalTestnet = NetworkConfig{ Name: "local-testnet", Beacon: beacon.NewLocalTestNetwork(spectypes.PraterNetwork), Domain: spectypes.JatoV2Testnet, GenesisEpoch: 1, RegistryContractAddr: "0xC3CD9A0aE89Fff83b71b58b6512D43F8a41f363D", Bootnodes: []string{ "enr:-Li4QLR4Y1VbwiqFYKy6m-WFHRNDjhMDZ_qJwIABu2PY9BHjIYwCKpTvvkVmZhu43Q6zVA29sEUhtz10rQjDJkK3Hd-GAYiGrW2Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhCLdu_SJc2VjcDI1NmsxoQJTcI7GHPw-ZqIflPZYYDK_guurp_gsAFF5Erns3-PAvIN0Y3CCE4mDdWRwgg-h", }, }
View Source
var Mainnet = NetworkConfig{ Name: "mainnet", Beacon: beacon.NewNetwork(spectypes.MainNetwork), Domain: spectypes.GenesisMainnet, GenesisEpoch: 218450, RegistrySyncOffset: new(big.Int).SetInt64(17507487), RegistryContractAddr: "0xDD9BC35aE942eF0cFa76930954a156B3fF30a4E1", Bootnodes: []string{ "enr:-Li4QHEPYASj5ZY3BXXKXAoWcoIw0ChgUlTtfOSxgNlYxlmpEWUR_K6Nr04VXsMpWSQxWWM4QHDyypnl92DQNpWkMS-GAYiWUvo8h2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhCzmKVSJc2VjcDI1NmsxoQOW29na1pUAQw4jF3g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Q0lVOFhwUC9IKzd6TWNGMG1HbVlUcjAvcWR1bVNsCjNRSURBUUFCCi0tLS0tRU5EIFJTQSBQVUJMSUMgS0VZLS0tLS0K", "LS0tLS1CRUdJTiBSU0EgUFVCTElDIEtFWS0tLS0tCk1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBdmRWVVJ0OFgxbFA5VDVSUUdYdVkKcFpZWjVBb3VuSEdUakMvQ1FoTmQ5RC9kT2kvSDUwVW1PdVBpTzhYYUF4UFRGcGIrZ2xCeGJRRHVQUGN1cENPdQpKN09lVTBvdzdsQjVMclZlWWt3RExnSHY3bDQwcjRWVTM3NlFueGhuS0JyVHNkaWdmZHJYUWZveGRhajVQQ0VYCnFjK1ozNXFPUmpCZ3dublRlbEJjc2NLMHorSkJaQzU0OXFOWThMbm9aMTBuRFptdW1YVDlac3dISCtJVkZacDYKMEZTY0k0V1V5U1gxVnJJT2tSandoSWlCSFk3YkhrZ01Bci9xeStuRmlFUUVRV2Q2VXAwOWtkS0hNVmdtVFp4KwprQXZRbFZ0Z3luYkFPWkNMeng0Ymo1Yi9MQklIejNiTk9zWlNtR3AxWi9hWDFkd1BaMlhOai83elovNGpuM095CkdRSURBUUFCCi0tLS0tRU5EIFJTQSBQVUJMSUMgS0VZLS0tLS0K", }, PermissionlessActivationEpoch: 249056, }
View Source
var SupportedConfigs = map[string]NetworkConfig{ Mainnet.Name: Mainnet, Holesky.Name: Holesky, HoleskyStage.Name: HoleskyStage, JatoV2Stage.Name: JatoV2Stage, JatoV2.Name: JatoV2, LocalTestnet.Name: LocalTestnet, HoleskyE2E.Name: HoleskyE2E, }
View Source
var TestNetwork = NetworkConfig{ Name: "testnet", Beacon: beacon.NewNetwork(spectypes.PraterNetwork), Domain: spectypes.JatoTestnet, GenesisEpoch: 152834, RegistrySyncOffset: new(big.Int).SetInt64(9015219), RegistryContractAddr: "0x4B133c68A084B8A88f72eDCd7944B69c8D545f03", Bootnodes: []string{ "enr:-Li4QFIQzamdvTxGJhvcXG_DFmCeyggSffDnllY5DiU47pd_K_1MRnSaJimWtfKJ-MD46jUX9TwgW5Jqe0t4pH41RYWGAYuFnlyth2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhCLdu_SJc2VjcDI1NmsxoQN4v-N9zFYwEqzGPBBX37q24QPFvAVUtokIo1fblIsmTIN0Y3CCE4uDdWRwgg-j", }, PermissionlessActivationEpoch: 123456789, }
Functions ¶
This section is empty.
Types ¶
type NetworkConfig ¶
type NetworkConfig struct { Name string Beacon beacon.BeaconNetwork Domain spectypes.DomainType GenesisEpoch spec.Epoch RegistrySyncOffset *big.Int RegistryContractAddr string // TODO: ethcommon.Address Bootnodes []string WhitelistedOperatorKeys []string PermissionlessActivationEpoch spec.Epoch DiscoveryProtocolID [6]byte }
func GetNetworkConfigByName ¶
func GetNetworkConfigByName(name string) (NetworkConfig, error)
func (NetworkConfig) DomainType ¶ added in v1.3.10
func (n NetworkConfig) DomainType() spectypes.DomainType
DomainType returns current domain type based on the current fork.
func (NetworkConfig) ForkVersion ¶
func (n NetworkConfig) ForkVersion() [4]byte
ForkVersion returns the fork version of the network.
func (NetworkConfig) GetGenesisTime ¶
func (n NetworkConfig) GetGenesisTime() time.Time
GetGenesisTime returns the genesis time in unix time.
func (NetworkConfig) SlotDurationSec ¶
func (n NetworkConfig) SlotDurationSec() time.Duration
SlotDurationSec returns slot duration
func (NetworkConfig) SlotsPerEpoch ¶
func (n NetworkConfig) SlotsPerEpoch() uint64
SlotsPerEpoch returns number of slots per one epoch
func (NetworkConfig) String ¶
func (n NetworkConfig) String() string
Click to show internal directories.
Click to hide internal directories.