Skip to content

Commit

Permalink
make chunk size configurible and remove EIP7594 configs (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
parithosh authored Dec 12, 2024
1 parent 4048de5 commit bcb176a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions config-example/cl/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ ELECTRA_FORK_EPOCH: $ELECTRA_FORK_EPOCH
FULU_FORK_VERSION: $FULU_FORK_VERSION
FULU_FORK_EPOCH: $FULU_FORK_EPOCH

# EIP7594 - Peerdas
EIP7594_FORK_VERSION: $EIP7594_FORK_VERSION
EIP7594_FORK_EPOCH: $EIP7594_FORK_EPOCH

# Time parameters
# ---------------------------------------------------------------
Expand Down Expand Up @@ -104,7 +101,7 @@ EPOCHS_PER_SUBNET_SUBSCRIPTION: 256
# `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2` (= 33024, ~5 months)
MIN_EPOCHS_FOR_BLOCK_REQUESTS: 33024
# `10 * 2**20` (=10485760, 10 MiB)
MAX_CHUNK_SIZE: 10485760
MAX_CHUNK_SIZE: $MAX_CHUNK_SIZE
# 5s
TTFB_TIMEOUT: 5
# 10s
Expand Down
3 changes: 1 addition & 2 deletions defaults/defaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ export ELECTRA_FORK_VERSION="${ELECTRA_FORK_VERSION:-0x60000000}"
export ELECTRA_FORK_EPOCH="${ELECTRA_FORK_EPOCH:-2000}"
export FULU_FORK_VERSION="${FULU_FORK_VERSION:-0x70000000}"
export FULU_FORK_EPOCH="${FULU_FORK_EPOCH:-99999}"
export EIP7594_FORK_VERSION="${EIP7594_FORK_VERSION:-0x70000000}"
export EIP7594_FORK_EPOCH="${EIP7594_FORK_EPOCH:-99999}"
export WITHDRAWAL_TYPE="${WITHDRAWAL_TYPE:-0x00}"
export WITHDRAWAL_ADDRESS="${WITHDRAWAL_ADDRESS:-0xf97e180c050e5Ab072211Ad2C213Eb5AEE4DF134}"
export BEACON_STATIC_ENR="${BEACON_STATIC_ENR:-enr:-Iq4QJk4WqRkjsX5c2CXtOra6HnxN-BMXnWhmhEQO9Bn9iABTJGdjUOurM7Btj1ouKaFkvTRoju5vz2GPmVON2dffQKGAX53x8JigmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk}"
Expand All @@ -45,6 +43,7 @@ export TARGET_BLOBS_PER_BLOCK_ELECTRA="${TARGET_BLOBS_PER_BLOCK_ELECTRA:-6}"
export MAX_BLOBS_PER_BLOCK_EIP7594="${MAX_BLOBS_PER_BLOCK_EIP7594:-12}"
export TARGET_BLOBS_PER_BLOCK_EIP7594="${TARGET_BLOBS_PER_BLOCK_EIP7594:-9}"
export GOSSIP_MAX_SIZE="${GOSSIP_MAX_SIZE:-10485760}"
export MAX_CHUNK_SIZE="${MAX_CHUNK_SIZE:-10485760}"
export MAX_REQUEST_BLOCKS_DENEB="${MAX_REQUEST_BLOCKS_DENEB:-128}"
export MAX_REQUEST_BLOB_SIDECARS_ELECTRA="${MAX_REQUEST_BLOB_SIDECARS_ELECTRA:-1152}"
export MAX_REQUEST_BLOB_SIDECARS_EIP7594="${MAX_REQUEST_BLOB_SIDECARS_EIP7594:-1536}"
Expand Down

0 comments on commit bcb176a

Please sign in to comment.