Skip to content

Commit

Permalink
chore: update reth (v1.0.5), op-node (v1.9.0) (#310)
Browse files Browse the repository at this point in the history
* chore: update reth (v1.0.5), op-node (v1.9.0)

* bump rust container version
  • Loading branch information
danyalprout authored Aug 10, 2024
1 parent 90f047f commit d1639e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ FROM golang:1.21 AS op
WORKDIR /app

ENV REPO=https://github.com/ethereum-optimism/optimism.git
ENV VERSION=v1.7.7
ENV COMMIT=f8143c8cbc4cc0c83922c53f17a1e47280673485
ENV VERSION=v1.9.0
ENV COMMIT=ec45f6634ab2855a4ae5d30c4e240d79f081d689
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'

RUN cd op-node && \
make VERSION=$VERSION op-node

FROM rust:1.79 AS reth
FROM rust:1.80 AS reth

ARG FEATURES=jemalloc,asm-keccak,optimism

Expand All @@ -21,7 +21,7 @@ WORKDIR /app
RUN apt-get update && apt-get -y upgrade && apt-get install -y git libclang-dev pkg-config curl build-essential

ENV REPO=https://github.com/paradigmxyz/reth.git
ENV COMMIT=29dc8fc05f74111c9ff67ddcd03638ee081b1dc0
ENV COMMIT=ffd71a0b024e6c20f15cb95bcdf1b4882fc91093
RUN git clone $REPO . && git checkout $COMMIT

RUN cargo build --bin op-reth --locked --features $FEATURES --profile maxperf
Expand Down

0 comments on commit d1639e1

Please sign in to comment.