Skip to content

Commit

Permalink
Update configs to work with latest code
Browse files Browse the repository at this point in the history
  • Loading branch information
siladu committed Sep 25, 2023
1 parent 5bb9fd6 commit de1f285
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
1 change: 0 additions & 1 deletion besu-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ node-private-key-file="besu.key"
engine-rpc-enabled=true
engine-jwt-secret="jwtsecret.txt"
engine-jwt-disabled=true
tx-pool-limit-by-account-percentage="1"
data-storage-format="BONSAI"
31 changes: 31 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,34 @@ GENESIS_DELAY: 120
# Ethereum Goerli testnet
DEPOSIT_CHAIN_ID: 1
DEPOSIT_NETWORK_ID: 1

# Networking
# ---------------------------------------------------------------
# `10 * 2**20` (= 10485760, 10 MiB)
GOSSIP_MAX_SIZE: 10485760
# `2**10` (= 1024)
MAX_REQUEST_BLOCKS: 1024
# `2**8` (= 256)
EPOCHS_PER_SUBNET_SUBSCRIPTION: 256
## [customized] `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2` (= 272)
MIN_EPOCHS_FOR_BLOCK_REQUESTS: 272
# `10 * 2**20` (=10485760, 10 MiB)
MAX_CHUNK_SIZE: 10485760
# 5s
TTFB_TIMEOUT: 5
# 10s
RESP_TIMEOUT: 10
ATTESTATION_PROPAGATION_SLOT_RANGE: 32
# 500ms
MAXIMUM_GOSSIP_CLOCK_DISPARITY: 500
MESSAGE_DOMAIN_INVALID_SNAPPY: 0x00000000
MESSAGE_DOMAIN_VALID_SNAPPY: 0x01000000
# 2 subnets per node
SUBNETS_PER_NODE: 2
# 2**8 (= 64)
ATTESTATION_SUBNET_COUNT: 64
ATTESTATION_SUBNET_EXTRA_BITS: 0
# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
ATTESTATION_SUBNET_PREFIX_BITS: 6

KZG_NOOP: true

0 comments on commit de1f285

Please sign in to comment.