Update mainnet config

This commit is contained in:
Shane Bammel 2023-05-11 16:59:39 -05:00
parent caf37ab9c6
commit 86767b863f
5 changed files with 94 additions and 0 deletions

View File

@ -330,6 +330,16 @@ define_hardcoded_nets!(
// directory.
CHIADO_GENESIS_STATE_SOURCE
),
(
// Network name (must be unique among all networks).
pulsechain,
// The name of the directory in the `eth2_network_config/built_in_network_configs`
// directory where the configuration files are located for this network.
"pulsechain",
// Set to `true` if the genesis state can be found in the `built_in_network_configs`
// directory.
GenesisStateSource::IncludedBytes
),
(
// Network name (must be unique among all networks).
pulsechain_testnet_v4,

View File

@ -0,0 +1,7 @@
# PulseChain Official
# bootnode-aws-us-east-2-001
- enr:-MK4QLMoST7zES5B03faU_ANy-dZp0I1fyLOcGRBKexc4-bgZeuKZYWLOx_RahC5Wa2pE8B-5VBvpXf3RfplWHDferGGAYgLF_jCh2F0dG5ldHOIAAAAAAAAAACEZXRoMpCEXuUqAAADbP__________gmlkgnY0gmlwhBLYujGJc2VjcDI1NmsxoQM6gonfZ2At1gVixDiXYTT49JGCA9mk-qXH_HbgxAshNYhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A
# bootnode-aws-us-east-2-002
- enr:-MK4QFJATDWtgTvu8EFa6Ukzn_04Aj0GOpCvRxDaaXH8IScfImfRAFFa8Oz0_6FXX5jxlZwUVXvsez9pSswceG3zCVyGAYgLF_e_h2F0dG5ldHOIAAAAAAAAAACEZXRoMpCEXuUqAAADbP__________gmlkgnY0gmlwhBK8WXeJc2VjcDI1NmsxoQPgYyuwBxuNAxq_rqXaoc4IfOPZRUW1A6DeD-1OOlz6G4hzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A
# bootnode-aws-us-east-2-003
- enr:-MK4QBrmFJu1tQ7M-wRryZ_lAlM8xBFQ6Et2j5OoJK6rgJnlSCzU4ASwShkhnewN5dG7mwxO3MGnLauepIMaNctDEEOGAYgLF_xnh2F0dG5ldHOIAAAAAAAAAACEZXRoMpCEXuUqAAADbP__________gmlkgnY0gmlwhBLY3ZiJc2VjcDI1NmsxoQNrGUin_QhnH664dMUYCEr25_MBZnqsOm4qIlqB0KMw0YhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A

View File

@ -0,0 +1,76 @@
# PulseChain mainnet config
# Extends the mainnet preset
CONFIG_NAME: pulsechain
PRESET_BASE: pulsechain
# Transition
# ---------------------------------------------------------------
TERMINAL_TOTAL_DIFFICULTY: 58750003716598352947541
# Genesis
# ---------------------------------------------------------------
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 4096
# Jan 28 2023 00:00:00 UTC
MIN_GENESIS_TIME: 1683776400
# Genesis Fork Version
GENESIS_FORK_VERSION: 0x00000369
# 300 seconds
GENESIS_DELAY: 300
# Forking
# ---------------------------------------------------------------
# Some forks are disabled for now:
# - These may be re-assigned to another fork-version later
# - Temporarily set to max uint64 value: 2**64 - 1
# Altair
ALTAIR_FORK_VERSION: 0x0000036a
ALTAIR_FORK_EPOCH: 1
# Merge
BELLATRIX_FORK_VERSION: 0x0000036b
BELLATRIX_FORK_EPOCH: 2
# Capella
CAPELLA_FORK_VERSION: 0x0000036c
CAPELLA_FORK_EPOCH: 3
# Time parameters
# ---------------------------------------------------------------
# 10 seconds
SECONDS_PER_SLOT: 10
# 14 (estimate from Eth1 mainnet)
SECONDS_PER_ETH1_BLOCK: 14
# 2**8 (= 256) epochs ~27 hours
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256
# 2**8 (= 256) epochs ~27 hours
SHARD_COMMITTEE_PERIOD: 256
# 2**11 (= 2,048) Eth1 blocks ~8 hours
ETH1_FOLLOW_DISTANCE: 2048
# Validator cycle
# ---------------------------------------------------------------
# 2**2 (= 4)
INACTIVITY_SCORE_BIAS: 4
# 2**4 (= 16)
INACTIVITY_SCORE_RECOVERY_RATE: 16
# 2**4 * 10**15 (= 16,000,000,000,000,000) Gwei
EJECTION_BALANCE: 16000000000000000
# 2**2 (= 4)
MIN_PER_EPOCH_CHURN_LIMIT: 4
# 2**16 (= 65,536)
CHURN_LIMIT_QUOTIENT: 65536
# Fork choice
# ---------------------------------------------------------------
# 40%
PROPOSER_SCORE_BOOST: 40
# Deposit contract
# ---------------------------------------------------------------
# Ethereum PoW Mainnet
DEPOSIT_CHAIN_ID: 369
DEPOSIT_NETWORK_ID: 369
DEPOSIT_CONTRACT_ADDRESS: 0x3693693693693693693693693693693693693693