2021-05-06 17:49:33 +00:00
|
|
|
# Minimal config
|
|
|
|
|
|
|
|
# Extends the minimal preset
|
|
|
|
PRESET_BASE: 'minimal'
|
|
|
|
|
2021-09-18 06:39:54 +00:00
|
|
|
# Transition
|
|
|
|
# ---------------------------------------------------------------
|
2021-09-21 12:18:46 +00:00
|
|
|
# TBD, 2**256-2**10 is a placeholder
|
|
|
|
TERMINAL_TOTAL_DIFFICULTY: 115792089237316195423570985008687907853269984665640564039457584007913129638912
|
2021-10-18 19:38:08 +00:00
|
|
|
# By default, don't use these params
|
2021-09-22 18:18:41 +00:00
|
|
|
TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000
|
2021-10-19 03:25:50 +00:00
|
|
|
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615
|
2021-10-18 19:38:08 +00:00
|
|
|
|
2021-09-18 06:39:54 +00:00
|
|
|
|
2021-09-23 23:51:20 +00:00
|
|
|
|
2021-05-06 17:49:33 +00:00
|
|
|
# Genesis
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# [customized]
|
|
|
|
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 64
|
|
|
|
# Jan 3, 2020
|
|
|
|
MIN_GENESIS_TIME: 1578009600
|
|
|
|
# Highest byte set to 0x01 to avoid collisions with mainnet versioning
|
|
|
|
GENESIS_FORK_VERSION: 0x00000001
|
|
|
|
# [customized] Faster to spin up testnets, but does not give validator reasonable warning time for genesis
|
|
|
|
GENESIS_DELAY: 300
|
|
|
|
|
|
|
|
|
|
|
|
# Forking
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# Values provided for illustrative purposes.
|
|
|
|
# Individual tests/testnets may set different values.
|
|
|
|
|
|
|
|
# Altair
|
|
|
|
ALTAIR_FORK_VERSION: 0x01000001
|
|
|
|
ALTAIR_FORK_EPOCH: 18446744073709551615
|
|
|
|
# Merge
|
|
|
|
MERGE_FORK_VERSION: 0x02000001
|
|
|
|
MERGE_FORK_EPOCH: 18446744073709551615
|
|
|
|
# Sharding
|
|
|
|
SHARDING_FORK_VERSION: 0x03000001
|
|
|
|
SHARDING_FORK_EPOCH: 18446744073709551615
|
|
|
|
|
|
|
|
|
|
|
|
# Time parameters
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# [customized] Faster for testing purposes
|
|
|
|
SECONDS_PER_SLOT: 6
|
|
|
|
# 14 (estimate from Eth1 mainnet)
|
|
|
|
SECONDS_PER_ETH1_BLOCK: 14
|
|
|
|
# 2**8 (= 256) epochs
|
|
|
|
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256
|
|
|
|
# [customized] higher frequency of committee turnover and faster time to acceptable voluntary exit
|
|
|
|
SHARD_COMMITTEE_PERIOD: 64
|
|
|
|
# [customized] process deposits more quickly, but insecure
|
|
|
|
ETH1_FOLLOW_DISTANCE: 16
|
|
|
|
|
|
|
|
|
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
|
2021-09-08 02:34:28 +00:00
|
|
|
# [customized] scale queue churn at much lower validator counts for testing
|
|
|
|
CHURN_LIMIT_QUOTIENT: 32
|
2021-05-06 17:49:33 +00:00
|
|
|
|
|
|
|
|
2021-11-23 00:02:46 +00:00
|
|
|
# Fork choice
|
|
|
|
# ---------------------------------------------------------------
|
2021-11-23 22:27:26 +00:00
|
|
|
# 70%
|
2021-11-23 15:23:59 +00:00
|
|
|
PROPOSER_SCORE_BOOST: 70
|
2021-11-23 00:02:46 +00:00
|
|
|
|
|
|
|
|
2021-05-06 17:49:33 +00:00
|
|
|
# Deposit contract
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# Ethereum Goerli testnet
|
|
|
|
DEPOSIT_CHAIN_ID: 5
|
|
|
|
DEPOSIT_NETWORK_ID: 5
|
|
|
|
# Configured on a per testnet basis
|
|
|
|
DEPOSIT_CONTRACT_ADDRESS: 0x1234567890123456789012345678901234567890
|