diff --git a/common/eth2_network_config/built_in_network_configs/eip4844/boot_enr.yaml b/common/eth2_network_config/built_in_network_configs/eip4844/boot_enr.yaml index 899798147..b4947f428 100644 --- a/common/eth2_network_config/built_in_network_configs/eip4844/boot_enr.yaml +++ b/common/eth2_network_config/built_in_network_configs/eip4844/boot_enr.yaml @@ -1,4 +1 @@ -- enr:-MK4QFnkGjrt5qw5Ct5XXT9QYvfqmH8Cf6xqKuczTHWixDUZQmngyLrlftv-tMRbXDAxZZQDxNciNTjx7XpW0G4yQguGAYU2Pmnxh2F0dG5ldHOIAAAAAAAAAACEZXRoMpA3FbaXIAAAk___________gmlkgnY0gmlwhCJ5ITWJc2VjcDI1NmsxoQIlwaxycUgJ_Ht4lYdDlInbIuRxu0HcHcFbu0D7As2SLYhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A -- enr:-MK4QBqN5McD5YYgfEnfQjWUvrSaCITjBvQevlP5q0nCVbKuZRoa2XvGWOBwTDQyLNYiqgeettVwXs0PrSc1rOY2rjKGAYU2M7A8h2F0dG5ldHOIAAAAAAAAAgCEZXRoMpA3FbaXIAAAk___________gmlkgnY0gmlwhCJ6vpeJc2VjcDI1NmsxoQNJzjxNKr7-a-iEDs0KvaL_vo1UH91kefEiWzgAdwSntYhzeW5jbmV0cw-DdGNwgjLIg3VkcIIu4A -- enr:-MK4QEzb6r0hpSyiko9u-mbEX1TzdTD9RcSiU4jhey5jJbTAHLdXNFR32CfjingVa6QMyCPtZRUfzSGbJ0ur3-Pdxe-GAYU2OwM5h2F0dG5ldHOIAAAAAAAAAACEZXRoMpA3FbaXIAAAk___________gmlkgnY0gmlwhCPi7faJc2VjcDI1NmsxoQIKBTGU_riCSYrscdRCLuocbNzhF9RTNItPfD4_PmYngIhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A -- enr:-MK4QPnKUgY_13LlQBxPZsM49owul_gFUb0CxvGDZGkMnZixO1P_imfgFUCPJXOp-k4f3-t2reL8yr53h-ZwlCetaXKGAYU64CTsh2F0dG5ldHOIAAAAAAAAAACEZXRoMpA3FbaXIAAAk___________gmlkgnY0gmlwhCJ5ITWJc2VjcDI1NmsxoQIlwaxycUgJ_Ht4lYdDlInbIuRxu0HcHcFbu0D7As2SLYhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A +- enr:-Iq4QAw-ZQb0IiosZgDDcK5ehLs1XmwT0BWU1E1W3ZnhlAAwAE3I46dgCsCbeB5QUwcpDmpFfveTfKF7-tiIg0KWGjqGAYXoIfe6gmlkgnY0gmlwhKEjXcqJc2VjcDI1NmsxoQN4HpB2GMFY2MzwO9hGFjqRG47OX4hGDliAG-mJNWkEr4N1ZHCCIyk diff --git a/common/eth2_network_config/built_in_network_configs/eip4844/config.yaml b/common/eth2_network_config/built_in_network_configs/eip4844/config.yaml index b2a5b9811..156fea17a 100644 --- a/common/eth2_network_config/built_in_network_configs/eip4844/config.yaml +++ b/common/eth2_network_config/built_in_network_configs/eip4844/config.yaml @@ -1,20 +1,17 @@ -CONFIG_NAME: testnet -PRESET_BASE: mainnet - -# Transition -# --------------------------------------------------------------- -TERMINAL_TOTAL_DIFFICULTY: 2 -# By default, don't use these params -TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000 -TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615 +# Extends the mainnet preset +PRESET_BASE: 'mainnet' +CONFIG_NAME: testnet # needs to exist because of Prysm. Otherwise it conflicts with mainnet genesis # Genesis # --------------------------------------------------------------- -# The genesis fork version looks weird for legacy reasons -MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 2 -MIN_GENESIS_TIME: 1671528489 -GENESIS_FORK_VERSION: 0x00000ffd -GENESIS_DELAY: 0 +# `2**14` (= 16,384) +MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 9000 +# Mar-01-2021 08:53:32 AM +UTC +# This is an invalid valid and should be updated when you create the genesis +MIN_GENESIS_TIME: 1674639000 +GENESIS_FORK_VERSION: 0x10484404 +GENESIS_DELAY: 120 + # Forking # --------------------------------------------------------------- @@ -23,33 +20,37 @@ GENESIS_DELAY: 0 # - Temporarily set to max uint64 value: 2**64 - 1 # Altair -ALTAIR_FORK_EPOCH: 2 -ALTAIR_FORK_VERSION: 0x20000090 - +ALTAIR_FORK_VERSION: 0x20484404 +ALTAIR_FORK_EPOCH: 0 # Merge -BELLATRIX_FORK_EPOCH: 3 -BELLATRIX_FORK_VERSION: 0x20000091 +BELLATRIX_FORK_VERSION: 0x30484404 +BELLATRIX_FORK_EPOCH: 0 +TERMINAL_TOTAL_DIFFICULTY: 0 +TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000 +TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615 # Capella -CAPELLA_FORK_EPOCH: 4 -CAPELLA_FORK_VERSION: 0x20000092 -MAX_WITHDRAWALS_PER_PAYLOAD: 4 +CAPELLA_FORK_VERSION: 0x40484404 +CAPELLA_FORK_EPOCH: 1 -# EIP4844 +# EIP4844/Deneb +# TODO: Rename to Deneb once specs/clients support it +EIP4844_FORK_VERSION: 0x50484404 EIP4844_FORK_EPOCH: 5 -EIP4844_FORK_VERSION: 0x20000093 # Time parameters # --------------------------------------------------------------- # 12 seconds SECONDS_PER_SLOT: 12 # 14 (estimate from Eth1 mainnet) -SECONDS_PER_ETH1_BLOCK: 14 +SECONDS_PER_ETH1_BLOCK: 12 +# 2**0 (= 1) epochs ~1 hours +MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 1 # 2**8 (= 256) epochs ~27 hours -MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256 -# 2**8 (= 256) epochs ~27 hours -SHARD_COMMITTEE_PERIOD: 256 -ETH1_FOLLOW_DISTANCE: 1 +SHARD_COMMITTEE_PERIOD: 1 +# 2**11 (= 2,048) Eth1 blocks ~8 hours +ETH1_FOLLOW_DISTANCE: 12 + # Validator cycle # --------------------------------------------------------------- @@ -58,7 +59,7 @@ INACTIVITY_SCORE_BIAS: 4 # 2**4 (= 16) INACTIVITY_SCORE_RECOVERY_RATE: 16 # 2**4 * 10**9 (= 16,000,000,000) Gwei -EJECTION_BALANCE: 16000000000 +EJECTION_BALANCE: 31000000000 # 2**2 (= 4) MIN_PER_EPOCH_CHURN_LIMIT: 4 # 2**16 (= 65,536) @@ -71,7 +72,6 @@ PROPOSER_SCORE_BOOST: 40 # Deposit contract # --------------------------------------------------------------- +DEPOSIT_CHAIN_ID: 4844001004 +DEPOSIT_NETWORK_ID: 4844001004 DEPOSIT_CONTRACT_ADDRESS: 0x4242424242424242424242424242424242424242 -DEPOSIT_CHAIN_ID: 1331 -DEPOSIT_NETWORK_ID: 1331 - diff --git a/common/eth2_network_config/built_in_network_configs/eip4844/genesis.ssz.zip b/common/eth2_network_config/built_in_network_configs/eip4844/genesis.ssz.zip index 35e5f8b59..0df154bbd 100644 Binary files a/common/eth2_network_config/built_in_network_configs/eip4844/genesis.ssz.zip and b/common/eth2_network_config/built_in_network_configs/eip4844/genesis.ssz.zip differ