Skip to content

Commit fb8455e

Browse files
committed
feat: allow customizing v5 disc port
1 parent 4e715e4 commit fb8455e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

reth/reth-entrypoint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ WS_PORT="${WS_PORT:-8546}"
88
AUTHRPC_PORT="${AUTHRPC_PORT:-8551}"
99
METRICS_PORT="${METRICS_PORT:-6060}"
1010
DISCOVERY_PORT="${DISCOVERY_PORT:-30303}"
11+
V5_DISCOVERY_PORT="${V5_DISCOVERY_PORT:-9200}"
1112
P2P_PORT="${P2P_PORT:-30303}"
1213
ADDITIONAL_ARGS=""
1314
BINARY="./base-reth-node"
@@ -154,5 +155,6 @@ exec "$BINARY" node \
154155
--rollup.sequencer-http="$RETH_SEQUENCER_HTTP" \
155156
--rollup.disable-tx-pool-gossip \
156157
--discovery.port="$DISCOVERY_PORT" \
158+
--discovery.v5.port="$V5_DISCOVERY_PORT"
157159
--port="$P2P_PORT" \
158160
$ADDITIONAL_ARGS

0 commit comments

Comments
 (0)