Merge pull request #3915 from realbigsean/devnetv4-builtin-config

built in devnetv4 config eip4844
This commit is contained in:
realbigsean 2023-01-25 13:41:09 +01:00 committed by GitHub
commit 1dd9812f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 37 deletions

View File

@ -1,4 +1 @@
- enr:-MK4QFnkGjrt5qw5Ct5XXT9QYvfqmH8Cf6xqKuczTHWixDUZQmngyLrlftv-tMRbXDAxZZQDxNciNTjx7XpW0G4yQguGAYU2Pmnxh2F0dG5ldHOIAAAAAAAAAACEZXRoMpA3FbaXIAAAk___________gmlkgnY0gmlwhCJ5ITWJc2VjcDI1NmsxoQIlwaxycUgJ_Ht4lYdDlInbIuRxu0HcHcFbu0D7As2SLYhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A - enr:-Iq4QAw-ZQb0IiosZgDDcK5ehLs1XmwT0BWU1E1W3ZnhlAAwAE3I46dgCsCbeB5QUwcpDmpFfveTfKF7-tiIg0KWGjqGAYXoIfe6gmlkgnY0gmlwhKEjXcqJc2VjcDI1NmsxoQN4HpB2GMFY2MzwO9hGFjqRG47OX4hGDliAG-mJNWkEr4N1ZHCCIyk
- 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

View File

@ -1,20 +1,17 @@
CONFIG_NAME: testnet # Extends the mainnet preset
PRESET_BASE: mainnet PRESET_BASE: 'mainnet'
CONFIG_NAME: testnet # needs to exist because of Prysm. Otherwise it conflicts with mainnet genesis
# Transition
# ---------------------------------------------------------------
TERMINAL_TOTAL_DIFFICULTY: 2
# By default, don't use these params
TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615
# Genesis # Genesis
# --------------------------------------------------------------- # ---------------------------------------------------------------
# The genesis fork version looks weird for legacy reasons # `2**14` (= 16,384)
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 2 MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 9000
MIN_GENESIS_TIME: 1671528489 # Mar-01-2021 08:53:32 AM +UTC
GENESIS_FORK_VERSION: 0x00000ffd # This is an invalid valid and should be updated when you create the genesis
GENESIS_DELAY: 0 MIN_GENESIS_TIME: 1674639000
GENESIS_FORK_VERSION: 0x10484404
GENESIS_DELAY: 120
# Forking # Forking
# --------------------------------------------------------------- # ---------------------------------------------------------------
@ -23,33 +20,37 @@ GENESIS_DELAY: 0
# - Temporarily set to max uint64 value: 2**64 - 1 # - Temporarily set to max uint64 value: 2**64 - 1
# Altair # Altair
ALTAIR_FORK_EPOCH: 2 ALTAIR_FORK_VERSION: 0x20484404
ALTAIR_FORK_VERSION: 0x20000090 ALTAIR_FORK_EPOCH: 0
# Merge # Merge
BELLATRIX_FORK_EPOCH: 3 BELLATRIX_FORK_VERSION: 0x30484404
BELLATRIX_FORK_VERSION: 0x20000091 BELLATRIX_FORK_EPOCH: 0
TERMINAL_TOTAL_DIFFICULTY: 0
TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615
# Capella # Capella
CAPELLA_FORK_EPOCH: 4 CAPELLA_FORK_VERSION: 0x40484404
CAPELLA_FORK_VERSION: 0x20000092 CAPELLA_FORK_EPOCH: 1
MAX_WITHDRAWALS_PER_PAYLOAD: 4
# EIP4844 # EIP4844/Deneb
# TODO: Rename to Deneb once specs/clients support it
EIP4844_FORK_VERSION: 0x50484404
EIP4844_FORK_EPOCH: 5 EIP4844_FORK_EPOCH: 5
EIP4844_FORK_VERSION: 0x20000093
# Time parameters # Time parameters
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 12 seconds # 12 seconds
SECONDS_PER_SLOT: 12 SECONDS_PER_SLOT: 12
# 14 (estimate from Eth1 mainnet) # 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 # 2**8 (= 256) epochs ~27 hours
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256 SHARD_COMMITTEE_PERIOD: 1
# 2**8 (= 256) epochs ~27 hours # 2**11 (= 2,048) Eth1 blocks ~8 hours
SHARD_COMMITTEE_PERIOD: 256 ETH1_FOLLOW_DISTANCE: 12
ETH1_FOLLOW_DISTANCE: 1
# Validator cycle # Validator cycle
# --------------------------------------------------------------- # ---------------------------------------------------------------
@ -58,7 +59,7 @@ INACTIVITY_SCORE_BIAS: 4
# 2**4 (= 16) # 2**4 (= 16)
INACTIVITY_SCORE_RECOVERY_RATE: 16 INACTIVITY_SCORE_RECOVERY_RATE: 16
# 2**4 * 10**9 (= 16,000,000,000) Gwei # 2**4 * 10**9 (= 16,000,000,000) Gwei
EJECTION_BALANCE: 16000000000 EJECTION_BALANCE: 31000000000
# 2**2 (= 4) # 2**2 (= 4)
MIN_PER_EPOCH_CHURN_LIMIT: 4 MIN_PER_EPOCH_CHURN_LIMIT: 4
# 2**16 (= 65,536) # 2**16 (= 65,536)
@ -71,7 +72,6 @@ PROPOSER_SCORE_BOOST: 40
# Deposit contract # Deposit contract
# --------------------------------------------------------------- # ---------------------------------------------------------------
DEPOSIT_CHAIN_ID: 4844001004
DEPOSIT_NETWORK_ID: 4844001004
DEPOSIT_CONTRACT_ADDRESS: 0x4242424242424242424242424242424242424242 DEPOSIT_CONTRACT_ADDRESS: 0x4242424242424242424242424242424242424242
DEPOSIT_CHAIN_ID: 1331
DEPOSIT_NETWORK_ID: 1331