File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ jobs:
9090 matrix :
9191 settings :
9292 - arch : linux/amd64
93- runs-on : ubuntu-24.04-64core
93+ runs-on : ubuntu-24.04
9494 features : jemalloc,asm-keccak,optimism
9595 - arch : linux/arm64
96- runs-on : ubuntu-24.04-arm-64core
96+ runs-on : ubuntu-24.04-arm
9797 features : jemalloc,optimism
9898 runs-on : ${{ matrix.settings.runs-on }}
9999 steps :
Original file line number Diff line number Diff line change @@ -13,20 +13,6 @@ RUN . /tmp/versions.env && git clone $OP_NODE_REPO --branch $OP_NODE_TAG --singl
1313RUN . /tmp/versions.env && cd op-node && \
1414 make VERSION=$OP_NODE_TAG op-node
1515
16- FROM rust:1.88 AS reth
17-
18- WORKDIR /app
19-
20- COPY versions.env /tmp/versions.env
21-
22- RUN apt-get update && apt-get -y upgrade && apt-get install -y git libclang-dev pkg-config curl build-essential
23-
24- RUN . /tmp/versions.env && git clone $OP_RETH_REPO --branch $OP_RETH_TAG --single-branch . && \
25- git switch -c branch-$OP_RETH_TAG && \
26- bash -c '[ "$(git rev-parse HEAD)" = "$OP_RETH_COMMIT" ]'
27-
28- RUN cargo build --bin op-reth --profile maxperf --manifest-path crates/optimism/bin/Cargo.toml
29-
3016FROM rust:1.88 AS reth-base
3117
3218WORKDIR /app
@@ -41,7 +27,7 @@ RUN . /tmp/versions.env && git clone $BASE_RETH_NODE_REPO . && \
4127 git checkout tags/$BASE_RETH_NODE_TAG && \
4228 bash -c '[ "$(git rev-parse HEAD)" = "$BASE_RETH_NODE_COMMIT" ]' || (echo "Commit hash verification failed" && exit 1)
4329
44- RUN cargo build --bin base-reth-node --profile maxperf --features jemalloc
30+ RUN cargo build --bin base-reth-node --profile maxperf
4531
4632FROM ubuntu:24.04
4733
@@ -53,7 +39,6 @@ RUN mkdir -p /var/log/supervisor
5339WORKDIR /app
5440
5541COPY --from=op /app/op-node/bin/op-node ./
56- COPY --from=reth /app/target/maxperf/op-reth ./
5742COPY --from=reth-base /app/target/maxperf/base-reth-node ./
5843COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
5944COPY ./reth/reth-entrypoint ./execution-entrypoint
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ DISCOVERY_PORT="${DISCOVERY_PORT:-30303}"
1111P2P_PORT=" ${P2P_PORT:- 30303} "
1212ADDITIONAL_ARGS=" "
1313NODE_TYPE=" ${NODE_TYPE:- base} "
14+ BINARY=" ./base-reth-node"
1415
1516if [[ -z " ${RETH_CHAIN:- } " ]]; then
1617 echo " expected RETH_CHAIN to be set" 1>&2
@@ -23,15 +24,6 @@ if [[ "$NODE_TYPE" == "base" && -n "${RETH_FB_WEBSOCKET_URL:-}" ]]; then
2324 echo " Enabling Flashblocks support with endpoint: $RETH_FB_WEBSOCKET_URL "
2425fi
2526
26- # Select binary based on NODE_TYPE
27- if [[ " $NODE_TYPE " == " base" ]]; then
28- echo " Starting Base Reth node"
29- BINARY=" ./base-reth-node"
30- else
31- echo " Starting OP Reth node"
32- BINARY=" ./op-reth"
33- fi
34-
3527# Add pruning for base
3628if [[ " $NODE_TYPE " == " base" && " ${RETH_PRUNING_ARGS+x} " = x ]]; then
3729 echo " Adding pruning arguments: $RETH_PRUNING_ARGS "
You can’t perform that action at this time.
0 commit comments