Add Deneb fork config

This commit is contained in:
Shane Bammel 2024-03-26 16:14:46 -05:00
parent 2d6df1a5c8
commit 992805a5f6
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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