Skip to content

Commit

Permalink
Merge pull request #85 from ethpandaops/bbusa/configureverkle-gen
Browse files Browse the repository at this point in the history
feat: make churn, eject, follow distance configurable, verkle-gen
  • Loading branch information
barnabasbusa authored Jan 3, 2024
2 parents 2ecb1e4 + 6814805 commit e538eaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config-example/cl/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 1
# 2**8 (= 256) epochs ~27 hours
SHARD_COMMITTEE_PERIOD: 1
# 2**11 (= 2,048) Eth1 blocks ~8 hours
ETH1_FOLLOW_DISTANCE: 12
ETH1_FOLLOW_DISTANCE: $ETH1_FOLLOW_DISTANCE


# Validator cycle
Expand All @@ -62,11 +62,13 @@ INACTIVITY_SCORE_BIAS: 4
# 2**4 (= 16)
INACTIVITY_SCORE_RECOVERY_RATE: 16
# 2**4 * 10**9 (= 16,000,000,000) Gwei
EJECTION_BALANCE: 31000000000
EJECTION_BALANCE: $EJECTION_BALANCE
# 2**2 (= 4)
MIN_PER_EPOCH_CHURN_LIMIT: 4
# 2**16 (= 65,536)
CHURN_LIMIT_QUOTIENT: 65536
# [New in Deneb:EIP7514] 2**3 (= 8)
MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: $MAX_CHURN

# Fork choice
# ---------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions config-example/values.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ export BEACON_STATIC_ENR="enr:-Iq4QJk4WqRkjsX5c2CXtOra6HnxN-BMXnWhmhEQO9Bn9iABTJ
#export SHADOW_FORK_RPC="http://docker.for.mac.localhost:8545"
export GENESIS_TIMESTAMP=0
export GENESIS_DELAY=60
export MAX_CHURN=8
export EJECTION_BALANCE=16000000000
export ETH1_FOLLOW_DISTANCE=2048

0 comments on commit e538eaf

Please sign in to comment.