2021-05-06 17:49:33 +00:00
|
|
|
# Mainnet config
|
|
|
|
|
|
|
|
# Extends the mainnet preset
|
|
|
|
PRESET_BASE: 'mainnet'
|
|
|
|
|
|
|
|
# Genesis
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# `2**14` (= 16,384)
|
|
|
|
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 16384
|
|
|
|
# Dec 1, 2020, 12pm UTC
|
|
|
|
MIN_GENESIS_TIME: 1606824000
|
|
|
|
# Mainnet initial fork version, recommend altering for testnets
|
|
|
|
GENESIS_FORK_VERSION: 0x00000000
|
|
|
|
# 604800 seconds (7 days)
|
|
|
|
GENESIS_DELAY: 604800
|
|
|
|
|
|
|
|
|
|
|
|
# Forking
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# Some forks are disabled for now:
|
2021-05-19 15:15:34 +00:00
|
|
|
# - These may be re-assigned to another fork-version later
|
|
|
|
# - Temporarily set to max uint64 value: 2**64 - 1
|
2021-05-06 17:49:33 +00:00
|
|
|
|
|
|
|
# Altair
|
|
|
|
ALTAIR_FORK_VERSION: 0x01000000
|
|
|
|
ALTAIR_FORK_EPOCH: 18446744073709551615
|
|
|
|
# Merge
|
|
|
|
MERGE_FORK_VERSION: 0x02000000
|
|
|
|
MERGE_FORK_EPOCH: 18446744073709551615
|
|
|
|
# Sharding
|
|
|
|
SHARDING_FORK_VERSION: 0x03000000
|
|
|
|
SHARDING_FORK_EPOCH: 18446744073709551615
|
|
|
|
|
2021-05-18 10:12:01 +00:00
|
|
|
# TBD, 2**32 is a placeholder. Merge transition approach is in active R&D.
|
2021-06-07 16:21:36 +00:00
|
|
|
MIN_ANCHOR_POW_BLOCK_DIFFICULTY: 4294967296
|
2021-05-06 17:49:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Time parameters
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 12 seconds
|
|
|
|
SECONDS_PER_SLOT: 12
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
2021-05-19 15:15:34 +00:00
|
|
|
# Validator cycle
|
2021-05-06 17:49:33 +00:00
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**2 (= 4)
|
|
|
|
INACTIVITY_SCORE_BIAS: 4
|
|
|
|
# 2**4 (= 16)
|
|
|
|
INACTIVITY_SCORE_RECOVERY_RATE: 16
|
2021-05-19 15:15:34 +00:00
|
|
|
# 2**4 * 10**9 (= 16,000,000,000) Gwei
|
|
|
|
EJECTION_BALANCE: 16000000000
|
2021-05-06 17:49:33 +00:00
|
|
|
# 2**2 (= 4)
|
|
|
|
MIN_PER_EPOCH_CHURN_LIMIT: 4
|
|
|
|
# 2**16 (= 65,536)
|
|
|
|
CHURN_LIMIT_QUOTIENT: 65536
|
|
|
|
|
|
|
|
|
|
|
|
# Deposit contract
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# Ethereum PoW Mainnet
|
|
|
|
DEPOSIT_CHAIN_ID: 1
|
|
|
|
DEPOSIT_NETWORK_ID: 1
|
|
|
|
DEPOSIT_CONTRACT_ADDRESS: 0x00000000219ab540356cBB839Cbe05303d7705Fa
|