mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-21 19:20:38 +00:00
Add Deneb fork config
This commit is contained in:
parent
2d6df1a5c8
commit
992805a5f6
@ -1,5 +1,7 @@
|
||||
package params
|
||||
|
||||
import "math"
|
||||
|
||||
// UsePulseChainNetworkConfig uses the PulseChain beacon chain mainnet network config.
|
||||
func UsePulseChainNetworkConfig() {
|
||||
cfg := BeaconNetworkConfig().Copy()
|
||||
@ -42,6 +44,8 @@ func PulseChainConfig() *BeaconChainConfig {
|
||||
cfg.BellatrixForkEpoch = 2
|
||||
cfg.CapellaForkVersion = []byte{0x00, 0x00, 0x03, 0x6c}
|
||||
cfg.CapellaForkEpoch = 3
|
||||
cfg.DenebForkVersion = []byte{0x00, 0x00, 0x03, 0x6d}
|
||||
cfg.DenebForkEpoch = math.MaxUint64
|
||||
cfg.SecondsPerSlot = 10
|
||||
cfg.EjectionBalance = 16 * 1e15
|
||||
cfg.DepositChainID = 369
|
||||
|
@ -1,5 +1,7 @@
|
||||
package params
|
||||
|
||||
import "math"
|
||||
|
||||
// UsePulseChainTestnetV4NetworkConfig uses the PulseChain beacon chain testnet network config.
|
||||
func UsePulseChainTestnetV4NetworkConfig() {
|
||||
cfg := BeaconNetworkConfig().Copy()
|
||||
@ -40,6 +42,8 @@ func PulseChainTestnetV4Config() *BeaconChainConfig {
|
||||
cfg.BellatrixForkEpoch = 2
|
||||
cfg.CapellaForkVersion = []byte{0x00, 0x00, 0x09, 0x46}
|
||||
cfg.CapellaForkEpoch = 4200
|
||||
cfg.DenebForkVersion = []byte{0x00, 0x00, 0x09, 0x47}
|
||||
cfg.DenebForkEpoch = math.MaxUint64
|
||||
cfg.SecondsPerSlot = 10
|
||||
cfg.EjectionBalance = 16 * 1e15
|
||||
cfg.DepositChainID = 943
|
||||
|
Loading…
Reference in New Issue
Block a user