Skip to content

Commit

Permalink
Adding fork support for EIP-7732 and EIP-7805 (#176)
Browse files Browse the repository at this point in the history
Updates config.yaml as well
  • Loading branch information
parithosh authored Jan 27, 2025
1 parent 993952f commit 8d497aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
16 changes: 12 additions & 4 deletions config-example/cl/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ ELECTRA_FORK_EPOCH: $ELECTRA_FORK_EPOCH
FULU_FORK_VERSION: $FULU_FORK_VERSION
FULU_FORK_EPOCH: $FULU_FORK_EPOCH

# EIP7732
EIP7732_FORK_VERSION: $EIP7732_FORK_VERSION
EIP7732_FORK_EPOCH: $EIP7732_FORK_EPOCH

# EIP7805
EIP7805_FORK_VERSION: $EIP7805_FORK_VERSION
EIP7805_FORK_EPOCH: $EIP7805_FORK_EPOCH

# Time parameters
# ---------------------------------------------------------------
Expand Down Expand Up @@ -153,12 +160,13 @@ WHISK_PROPOSER_SELECTION_GAP: 2

# Fulu
NUMBER_OF_COLUMNS: 128
MAX_CELLS_IN_EXTENDED_MATRIX: 768
NUMBER_OF_CUSTODY_GROUPS: 128
DATA_COLUMN_SIDECAR_SUBNET_COUNT: $DATA_COLUMN_SIDECAR_SUBNET_COUNT
MAX_REQUEST_DATA_COLUMN_SIDECARS: 16384
SAMPLES_PER_SLOT: $SAMPLES_PER_SLOT
CUSTODY_REQUIREMENT: $CUSTODY_REQUIREMENT
TARGET_BLOBS_PER_BLOCK_FULU: $TARGET_BLOBS_PER_BLOCK_FULU
MAX_BLOBS_PER_BLOCK_FULU: $MAX_BLOBS_PER_BLOCK_FULU
# `MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_FULU`
MAX_REQUEST_BLOB_SIDECARS_FULU: $MAX_REQUEST_BLOB_SIDECARS_FULU
MIN_EPOCHS_FOR_DATA_COLUMN_SIDECARS_REQUESTS: 4096

# EIP7732
MAX_REQUEST_PAYLOADS: 128
5 changes: 4 additions & 1 deletion defaults/defaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ 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 EIP7732_FORK_VERSION="${EIP7732_FORK_VERSION:-0x80000000}
export EIP7732_FORK_EPOCH="${EIP7732_FORK_EPOCH:-99999}
export EIP7805_FORK_VERSION="${EIP7805_FORK_VERSION:-0x90000000}
export EIP7805_FORK_EPOCH="${EIP7805_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 @@ -46,6 +50,5 @@ 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_FULU="${MAX_REQUEST_BLOB_SIDECARS_FULU:-1536}"
export EL_PREMINE_ADDRS='{"0x1000000000000000000000000000000000000000": {"balance": "10ETH"}}'
export ADDITIONAL_PRELOADED_CONTRACTS='{"0x0000000000000000000000000000000000000000": {"balance": "1ETH","code": "0x123465","storage": {},"nonce": 0,"secretKey": "0x"}}'

0 comments on commit 8d497aa

Please sign in to comment.