Skip to content

Commit

Permalink
yeet: 7594 (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Dec 12, 2024
1 parent bcb176a commit 2c1b44e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions config-example/cl/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ WHISK_EPOCHS_PER_SHUFFLING_PHASE: 256
# `Epoch(2)`
WHISK_PROPOSER_SELECTION_GAP: 2

# EIP7594
# Fulu
NUMBER_OF_COLUMNS: 128
MAX_CELLS_IN_EXTENDED_MATRIX: 768
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_EIP7594: $TARGET_BLOBS_PER_BLOCK_EIP7594
MAX_BLOBS_PER_BLOCK_EIP7594: $MAX_BLOBS_PER_BLOCK_EIP7594
# `MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_EIP7594`
MAX_REQUEST_BLOB_SIDECARS_EIP7594: $MAX_REQUEST_BLOB_SIDECARS_EIP7594
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
6 changes: 3 additions & 3 deletions defaults/defaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ export CUSTODY_REQUIREMENT="${CUSTODY_REQUIREMENT:-4}"
export DATA_COLUMN_SIDECAR_SUBNET_COUNT="${DATA_COLUMN_SIDECAR_SUBNET_COUNT:-128}"
export MAX_BLOBS_PER_BLOCK_ELECTRA="${MAX_BLOBS_PER_BLOCK_ELECTRA:-9}"
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 MAX_BLOBS_PER_BLOCK_FULU="${MAX_BLOBS_PER_BLOCK_FULU:-12}"
export TARGET_BLOBS_PER_BLOCK_FULU="${TARGET_BLOBS_PER_BLOCK_FULU:-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}"
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"}}'
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ gen_cl_config(){
HUMAN_READABLE_TIMESTAMP=$(date -u -d @"$GENESIS_TIMESTAMP" +"%Y-%b-%d %I:%M:%S %p %Z")
COMMENT="# $HUMAN_READABLE_TIMESTAMP"
export MAX_REQUEST_BLOB_SIDECARS_ELECTRA=$(($MAX_REQUEST_BLOCKS_DENEB * $MAX_BLOBS_PER_BLOCK_ELECTRA))
export MAX_REQUEST_BLOB_SIDECARS_EIP7594=$(($MAX_REQUEST_BLOCKS_DENEB * $MAX_BLOBS_PER_BLOCK_EIP7594))
export MAX_REQUEST_BLOB_SIDECARS_FULU=$(($MAX_REQUEST_BLOCKS_DENEB * $MAX_BLOBS_PER_BLOCK_FULU))
python3 /apps/envsubst.py < /config/cl/config.yaml > /data/metadata/config.yaml
sed -i "s/#HUMAN_TIME_PLACEHOLDER/$COMMENT/" /data/metadata/config.yaml
python3 /apps/envsubst.py < /config/cl/mnemonics.yaml > $tmp_dir/mnemonics.yaml
Expand Down

0 comments on commit 2c1b44e

Please sign in to comment.