Skip to content

Commit

Permalink
feat!: beacon configuration for Capella/Deneb upgrade (#7)
Browse files Browse the repository at this point in the history
```
CAPELLA_FORK_EPOCH = (shanghaiTime - genesis_time) / SECONDS_PER_SLOT / SLOTS_PER_EPOCH
DENEB_FORK_EPOCH = (cancunTime - genesis_time) / SECONDS_PER_SLOT / SLOTS_PER_EPOCH
```
  • Loading branch information
letonchanh authored Feb 13, 2025
1 parent af14084 commit 608195f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions networks/mainnet/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ BELLATRIX_FORK_VERSION: 0x20000091
# Capella
# Transition: 60 minutes * 60 seconds / 6 seconds per slot / 8 slots per epoch (=75 epochs)
# Transition + (28 minutes * 60 seconds / 6 seconds per slot / 8 slots per epoch (= 35 epochs))
CAPELLA_FORK_EPOCH: 18446744073709551615
CAPELLA_FORK_EPOCH: 503609
CAPELLA_FORK_VERSION: 0x20000092

# # Deneb
DENEB_FORK_EPOCH: 18446744073709551615
DENEB_FORK_EPOCH: 503609
DENEB_FORK_VERSION: 0x20000093

# Future forks
Expand Down Expand Up @@ -81,12 +81,15 @@ ETH1_FOLLOW_DISTANCE: 32

# Execution
# ---------------------------------------------------------------
# MAX_WITHDRAWALS_PER_PAYLOAD: 17 # temporarily disabled
# Maximum number of withdrawals included in a block
# Use the default value of 2**4 (= 16)
MAX_WITHDRAWALS_PER_PAYLOAD: 16

# Withdrawals
# ---------------------------------------------------------------
# 2**5 (= 32) validators
# MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP: 32 # temporarily disabled
# Maximum number of validators a node will search through to find sufficient withdrawals to include
# 2**10 (= 1024) validators
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP: 1024

# Validator cycle
# ---------------------------------------------------------------
Expand All @@ -107,8 +110,9 @@ DEPOSIT_CONTRACT_ADDRESS: 0x17BbE91c315Bf14f38F6D35052a827cadfFe184e
# 1000 * 10**9 (= 1,000,000,000,000) Gwei
MIN_DEPOSIT_AMOUNT: 1000000000000
# 35000 * 10**9 (= 35,000,000,000,000) Gwei
# Relevant after Electra fork
# MIN_ACTIVATION_BALANCE: 35000000000000
# Mainly for Electra, but since Deneb, Prysm uses MIN_ACTIVATION_BALANCE
# to determine if a validator is active
MIN_ACTIVATION_BALANCE: 35000000000000
# 35000 * 10**9 (= 35,000,000,000,000) Gwei
MAX_EFFECTIVE_BALANCE: 35000000000000
# 1000 * 10**9 (= 1,000,000,000,000) Gwei
Expand Down

0 comments on commit 608195f

Please sign in to comment.