Skip to content

Commit c957ba8

Browse files
authored
🔀 switch reth client from base/node-reth to paradigmxyz/reth
2 parents 5d80a28 + da4b1a2 commit c957ba8

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎docker-compose.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
dockerfile: ${CLIENT}/Dockerfile
1818
args:
1919
OPGETH_VERSION: v1.101603.1
20-
BASE_NODE_RETH_VERSION: v0.1.16
20+
RETH_VERSION: v1.9.3
2121
env_file:
2222
- ${NETWORK_ENV:-.env.sepolia}
2323
ports:

‎reth/Dockerfile‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ FROM rust:1.88-bookworm AS builder
22

33
RUN apt update && apt install -y libclang-dev pkg-config build-essential
44

5-
RUN git clone https://github.com/base/node-reth.git /node-reth
5+
RUN git clone https://github.com/paradigmxyz/reth.git /reth
66

7-
WORKDIR /node-reth
7+
WORKDIR /reth
88

9-
ARG BASE_NODE_RETH_VERSION="INVALID"
9+
ARG RETH_VERSION="INVALID"
1010

11-
RUN git checkout $BASE_NODE_RETH_VERSION
11+
RUN git checkout $RETH_VERSION
1212

13-
RUN cargo build --profile maxperf --features jemalloc --bin base-reth-node
13+
RUN make maxperf-op
1414
# -------------------------------------------------------------------------
1515
FROM ubuntu:noble
1616

1717
WORKDIR /app
1818

19-
COPY --from=builder /node-reth/target/maxperf/base-reth-node /usr/local/bin/
19+
COPY --from=builder /reth/target/maxperf/op-reth /usr/local/bin/
2020
COPY genesis/execution/ /app/
2121
COPY --chmod=755 reth/entrypoint.sh /app/
2222

‎reth/entrypoint.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ if [[ "$PRUNING_MODE" == "full" ]]; then
2020
fi
2121

2222
if [[ -n "${FLASHBLOCKS_WEBSOCKET_URL:-}" ]]; then
23-
ADDITIONAL_ARGS="$ADDITIONAL_ARGS --websocket-url=$FLASHBLOCKS_WEBSOCKET_URL"
23+
ADDITIONAL_ARGS="$ADDITIONAL_ARGS --flashblocks-url=$FLASHBLOCKS_WEBSOCKET_URL"
2424
echo "Running in flashblocks support mode"
2525
else
2626
echo "Running in vanilla mode"
2727
fi
2828

29-
exec base-reth-node node \
29+
exec op-reth node \
3030
--datadir="$DATA_DIR" \
3131
--ws \
3232
--ws.origins="*" \
@@ -43,7 +43,7 @@ exec base-reth-node node \
4343
--authrpc.jwtsecret="$JWT_SECRET" \
4444
--metrics=0.0.0.0:"$METRICS_PORT" \
4545
--max-outbound-peers=100 \
46-
--chain "$GENESIS_FILE" \
46+
--chain="$GENESIS_FILE" \
4747
--rollup.sequencer-http="$ROLLUP_SEQUENCER_HTTP" \
4848
--rollup.disable-tx-pool-gossip \
4949
--discovery.port="$DISCOVERY_PORT" \

0 commit comments

Comments
 (0)