Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cd lisk-node
Please use the following client versions:

- **op-node**: [v1.19.1](https://github.com/ethereum-optimism/optimism/releases/tag/op-node/v1.19.1)
- **op-reth**: [v2.3.2](https://github.com/ethereum-optimism/optimism/releases/tag/op-reth/v2.3.2)
- **op-reth**: [v2.3.3](https://github.com/ethereum-optimism/optimism/releases/tag/op-reth/v2.3.3)

#### Build

Expand All @@ -85,7 +85,7 @@ Please use the following client versions:
git apply <path-to-op-node-lisk-sepolia.patch>
```

- To build `op-reth` from source, refer to the [`op-reth` source tree](https://github.com/ethereum-optimism/optimism/tree/op-reth%2Fv2.3.2/rust/op-reth) in the `ethereum-optimism/optimism` repository (pinned to the version above).
- To build `op-reth` from source, refer to the [`op-reth` source tree](https://github.com/ethereum-optimism/optimism/tree/op-reth%2Fv2.3.3/rust/op-reth) in the `ethereum-optimism/optimism` repository (pinned to the version above).

#### Set environment variables

Expand Down
8 changes: 6 additions & 2 deletions reth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ 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/ethereum-optimism/optimism.git
ENV VERSION=op-reth/v2.3.2
ENV COMMIT=fdca4cde225f141e61323007585ce3ae4b43248d
ENV VERSION=op-reth/v2.3.3
ENV COMMIT=20636578d271888a492ecb566a788570cdc0d7f0
RUN git clone $REPO --branch $VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'

# op-reth's superchain-configs feature regenerates res/superchain-configs.tar from
# the superchain-registry submodule at build time (the tar is gitignored upstream).
RUN git submodule update --init --force --depth 1 -- superchain-registry

WORKDIR /app/rust/op-reth

RUN RUSTFLAGS="-C target-cpu=native" cargo build --bin op-reth --locked --features $FEATURES --profile $PROFILE --manifest-path bin/Cargo.toml
Expand Down
Loading