2021-05-06 17:49:33 +00:00
|
|
|
# Minimal config
|
|
|
|
|
|
|
|
# Extends the minimal preset
|
|
|
|
PRESET_BASE: 'minimal'
|
|
|
|
|
2021-12-29 11:40:16 +00:00
|
|
|
# Free-form short name of the network that this configuration applies to - known
|
|
|
|
# canonical network names include:
|
|
|
|
# * 'mainnet' - there can be only one
|
|
|
|
# * 'prater' - testnet
|
|
|
|
# Must match the regex: [a-z0-9\-]
|
|
|
|
CONFIG_NAME: 'minimal'
|
|
|
|
|
2021-09-18 06:39:54 +00:00
|
|
|
# Transition
|
|
|
|
# ---------------------------------------------------------------
|
2022-08-15 14:00:14 +00:00
|
|
|
# 2**256-2**10 for testing minimal network
|
2021-09-21 12:18:46 +00:00
|
|
|
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
|
2021-12-22 07:46:18 +00:00
|
|
|
# Bellatrix
|
|
|
|
BELLATRIX_FORK_VERSION: 0x02000001
|
|
|
|
BELLATRIX_FORK_EPOCH: 18446744073709551615
|
2021-12-01 18:37:30 +00:00
|
|
|
# Capella
|
|
|
|
CAPELLA_FORK_VERSION: 0x03000001
|
|
|
|
CAPELLA_FORK_EPOCH: 18446744073709551615
|
2023-01-23 14:08:34 +00:00
|
|
|
# DENEB
|
|
|
|
DENEB_FORK_VERSION: 0x04000001
|
|
|
|
DENEB_FORK_EPOCH: 18446744073709551615
|
2023-03-27 12:58:43 +00:00
|
|
|
# EIP6110
|
2023-03-28 06:49:13 +00:00
|
|
|
EIP6110_FORK_VERSION: 0x05000001
|
2023-03-27 12:58:43 +00:00
|
|
|
EIP6110_FORK_EPOCH: 18446744073709551615
|
2023-05-10 14:26:55 +00:00
|
|
|
# EIP7002
|
|
|
|
EIP7002_FORK_VERSION: 0x05000001
|
|
|
|
EIP7002_FORK_EPOCH: 18446744073709551615
|
2023-09-12 13:48:35 +00:00
|
|
|
# EIP7668
|
|
|
|
EIP7668_FORK_VERSION: 0x05000001 # temporary stub
|
|
|
|
EIP7668_FORK_EPOCH: 18446744073709551615
|
2023-06-14 15:55:07 +00:00
|
|
|
# WHISK
|
|
|
|
WHISK_FORK_VERSION: 0x06000001
|
|
|
|
WHISK_FORK_EPOCH: 18446744073709551615
|
2021-05-06 17:49:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
# ---------------------------------------------------------------
|
2022-05-20 19:15:40 +00:00
|
|
|
# 40%
|
|
|
|
PROPOSER_SCORE_BOOST: 40
|
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
|
2023-05-16 15:36:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Networking
|
|
|
|
# ---------------------------------------------------------------
|
2023-06-09 15:12:38 +00:00
|
|
|
# `10 * 2**20` (= 10485760, 10 MiB)
|
|
|
|
GOSSIP_MAX_SIZE: 10485760
|
2023-05-16 15:36:52 +00:00
|
|
|
# `2**10` (= 1024)
|
|
|
|
MAX_REQUEST_BLOCKS: 1024
|
2023-05-23 19:52:36 +00:00
|
|
|
# `2**8` (= 256)
|
|
|
|
EPOCHS_PER_SUBNET_SUBSCRIPTION: 256
|
2023-05-16 15:36:52 +00:00
|
|
|
# [customized] `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2` (= 272)
|
|
|
|
MIN_EPOCHS_FOR_BLOCK_REQUESTS: 272
|
2023-06-09 15:12:38 +00:00
|
|
|
# `10 * 2**20` (=10485760, 10 MiB)
|
|
|
|
MAX_CHUNK_SIZE: 10485760
|
2023-05-16 15:36:52 +00:00
|
|
|
# 5s
|
|
|
|
TTFB_TIMEOUT: 5
|
|
|
|
# 10s
|
|
|
|
RESP_TIMEOUT: 10
|
|
|
|
ATTESTATION_PROPAGATION_SLOT_RANGE: 32
|
|
|
|
# 500ms
|
|
|
|
MAXIMUM_GOSSIP_CLOCK_DISPARITY: 500
|
|
|
|
MESSAGE_DOMAIN_INVALID_SNAPPY: 0x00000000
|
|
|
|
MESSAGE_DOMAIN_VALID_SNAPPY: 0x01000000
|
|
|
|
# 2 subnets per node
|
|
|
|
SUBNETS_PER_NODE: 2
|
|
|
|
# 2**8 (= 64)
|
|
|
|
ATTESTATION_SUBNET_COUNT: 64
|
|
|
|
ATTESTATION_SUBNET_EXTRA_BITS: 0
|
|
|
|
# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
|
|
|
|
ATTESTATION_SUBNET_PREFIX_BITS: 6
|
2023-06-09 15:10:00 +00:00
|
|
|
|
|
|
|
# Deneb
|
|
|
|
# `2**7` (=128)
|
|
|
|
MAX_REQUEST_BLOCKS_DENEB: 128
|
|
|
|
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
|
|
|
|
MAX_REQUEST_BLOB_SIDECARS: 768
|
|
|
|
# `2**12` (= 4096 epochs, ~18 days)
|
|
|
|
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
|
2023-06-12 15:57:21 +00:00
|
|
|
# `6`
|
|
|
|
BLOB_SIDECAR_SUBNET_COUNT: 6
|
2023-08-21 09:58:08 +00:00
|
|
|
|
|
|
|
# Whisk
|
|
|
|
WHISK_EPOCHS_PER_SHUFFLING_PHASE: 4
|
|
|
|
WHISK_PROPOSER_SELECTION_GAP: 1
|
2023-09-12 13:48:35 +00:00
|
|
|
|
|
|
|
# EIP7668
|
|
|
|
MAX_PER_EPOCH_INBOUND_CHURN_LIMIT: 12
|