File tree Expand file tree Collapse file tree 4 files changed +5
-16
lines changed
Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ services:
3030 - IPV6=${IPV6:-false}
3131 - ANCIENT_DIR=${ANCIENT_DIR:-}
3232 - ERA_URL=${ERA_URL:-}
33- - MAX_BLOBS=${MAX_BLOBS:-}
3433 - COMPOSE_FILE=${COMPOSE_FILE}
3534 volumes :
3635 - geth-eth1-data:/var/lib/goethereum
@@ -79,6 +78,8 @@ services:
7978 - --authrpc.vhosts=*
8079 - ${EL_MAX_PEER_COUNT:+--maxpeers}
8180 - ${EL_MAX_PEER_COUNT:+${EL_MAX_PEER_COUNT}}
81+ - ${MAX_BLOBS:+--miner.maxblobs}
82+ - ${MAX_BLOBS:+${MAX_BLOBS}}
8283 labels :
8384 - metrics.scrape=true
8485 - metrics.path=/debug/metrics/prometheus
Original file line number Diff line number Diff line change @@ -145,12 +145,6 @@ if [[ -n "${ERA_URL}" && ! -d /var/lib/geth/geth/chaindata && ! -d /var/lib/goet
145145 geth --datadir /var/lib/geth " --${NETWORK} " --era.format erae --remotedb " ${ERA_URL} "
146146fi
147147
148- if [[ -n " ${MAX_BLOBS} " ]]; then
149- __blobs=" --miner.maxblobs ${MAX_BLOBS} "
150- else
151- __blobs=" "
152- fi
153-
154148# Traces
155149if [[ " ${COMPOSE_FILE} " =~ (grafana\. yml| grafana-rootless\. yml) ]]; then
156150 __trace=" --rpc.telemetry=true --rpc.telemetry.endpoint http://tempo:4317 --rpc.telemetry.instance-id geth --rpc.telemetry.sample-ratio 0.1"
@@ -174,5 +168,5 @@ if [[ -f /var/lib/geth/prune-marker ]]; then
174168# shellcheck disable=SC2086
175169 exec " $@ " ${__datadir} ${__ancient} ${__network} ${EL_EXTRAS} prune-history
176170else
177- exec " $@ " ${__datadir} ${__ancient} ${__network} ${__prune} ${__blobs} ${ __trace} ${__verbosity} ${EL_EXTRAS}
171+ exec " $@ " ${__datadir} ${__ancient} ${__network} ${__prune} ${__trace} ${__verbosity} ${EL_EXTRAS}
178172fi
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ services:
2828 - NODE_TYPE=${EL_NODE_TYPE:-pre-merge-expiry}
2929 - NETWORK=${NETWORK}
3030 - ERA_URL=${ERA_URL:-}
31- - MAX_BLOBS=${MAX_BLOBS:-}
3231 volumes :
3332 - nimbus-el-data:/var/lib/nimbus
3433 - /etc/localtime:/etc/localtime:ro
@@ -63,6 +62,7 @@ services:
6362 - --engine-api-address=0.0.0.0
6463 - --engine-api-ws
6564 - ${EL_MAX_PEER_COUNT:+--max-peers=${EL_MAX_PEER_COUNT}}
65+ - ${MAX_BLOBS:+--max-blobs=${MAX_BLOBS}}
6666 - --log-level=${LOG_LEVEL}
6767 labels :
6868 - metrics.scrape=true
Original file line number Diff line number Diff line change 194194# rm -rf /var/lib/nimbus/era
195195# fi
196196
197- if [[ -n " ${MAX_BLOBS} " ]]; then
198- __blobs=" --max-blobs=${MAX_BLOBS} "
199- else
200- __blobs=" "
201- fi
202-
203197__strip_empty_args " $@ "
204198set -- " ${__args[@]} "
205199
206200# Word splitting is desired for the command line parameters
207201# shellcheck disable=SC2086
208- exec " $@ " ${__prune} ${__network} ${__blobs} ${ EL_EXTRAS}
202+ exec " $@ " ${__prune} ${__network} ${EL_EXTRAS}
You can’t perform that action at this time.
0 commit comments