mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-11 04:00:05 +00:00
Add pyrmont hard fork config (#9394)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
643e20c50a
commit
b28d65dc34
@ -1,5 +1,7 @@
|
|||||||
package params
|
package params
|
||||||
|
|
||||||
|
import "math"
|
||||||
|
|
||||||
// UsePyrmontNetworkConfig uses the Pyrmont specific
|
// UsePyrmontNetworkConfig uses the Pyrmont specific
|
||||||
// network config.
|
// network config.
|
||||||
func UsePyrmontNetworkConfig() {
|
func UsePyrmontNetworkConfig() {
|
||||||
@ -26,6 +28,12 @@ func PyrmontConfig() *BeaconChainConfig {
|
|||||||
cfg.GenesisDelay = 432000
|
cfg.GenesisDelay = 432000
|
||||||
cfg.ConfigName = ConfigNames[Pyrmont]
|
cfg.ConfigName = ConfigNames[Pyrmont]
|
||||||
cfg.GenesisForkVersion = []byte{0x00, 0x00, 0x20, 0x09}
|
cfg.GenesisForkVersion = []byte{0x00, 0x00, 0x20, 0x09}
|
||||||
|
cfg.AltairForkVersion = []byte{0x01, 0x00, 0x20, 0x09}
|
||||||
|
cfg.AltairForkEpoch = 61650
|
||||||
|
cfg.MergeForkVersion = []byte{0x02, 0x00, 0x20, 0x09}
|
||||||
|
cfg.MergeForkEpoch = math.MaxUint64
|
||||||
|
cfg.ShardingForkVersion = []byte{0x03, 0x00, 0x20, 0x09}
|
||||||
|
cfg.ShardingForkEpoch = math.MaxUint64
|
||||||
cfg.SecondsPerETH1Block = 14
|
cfg.SecondsPerETH1Block = 14
|
||||||
cfg.DepositChainID = 5
|
cfg.DepositChainID = 5
|
||||||
cfg.DepositNetworkID = 5
|
cfg.DepositNetworkID = 5
|
||||||
|
Loading…
Reference in New Issue
Block a user