From 410634f44d2509e1eebb33353a2f08e60d69bb60 Mon Sep 17 00:00:00 2001 From: cody-wang-cb Date: Tue, 7 Jan 2025 12:51:29 -0500 Subject: [PATCH] upgrade to reth 1.1.5 (#382) --- reth/Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/reth/Dockerfile b/reth/Dockerfile index 2e41350c..88198acf 100644 --- a/reth/Dockerfile +++ b/reth/Dockerfile @@ -24,13 +24,11 @@ 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 VERSION=v1.1.4-dev -ENV COMMIT=bc8d4fed1e7000e6ee08e1ba872b33be77cb52ef -# RUN git clone $REPO --branch $VERSION --single-branch . && \ -# git switch -c branch-$VERSION && \ -# bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]' -RUN git clone $REPO . && \ - git checkout $COMMIT +ENV VERSION=v1.1.5 +ENV COMMIT=3212af2d85a54eb207661361ac9fe1d7de4b5b8e +RUN git clone $REPO --branch $VERSION --single-branch . && \ + git switch -c branch-$VERSION && \ + bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]' RUN cargo build --bin op-reth --features $FEATURES --profile maxperf --manifest-path crates/optimism/bin/Cargo.toml