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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ cd lisk-node

Please use the following client versions:

- **op-node**: [v1.19.0](https://github.com/ethereum-optimism/optimism/releases/tag/op-node/v1.19.0)
- **op-reth**: [v2.3.1](https://github.com/ethereum-optimism/optimism/releases/tag/op-reth/v2.3.1)
- **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)

#### 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.1/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.2/rust/op-reth) in the `ethereum-optimism/optimism` repository (pinned to the version above).

#### Set environment variables

Expand Down
10 changes: 5 additions & 5 deletions dockerfile-lisk-sepolia.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ diff --git a/reth/Dockerfile b/reth/Dockerfile
index 12f758f..7422365 100644
--- a/reth/Dockerfile
+++ b/reth/Dockerfile
@@ -14,7 +14,11 @@ RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
@@ -19,7 +19,11 @@ RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
# submodule (gitignored in the source tree, so it must be built here).
RUN just build-superchain-go

-RUN cd op-node && \
+# Patch to handle the legacy ConfigUpdate event GAS_CONFIG_ECOTONE that shouldn't be used anymore
+# Emitted only on Lisk Sepolia from the SystemConfig contract
+COPY op-node-lisk-sepolia.patch .
+RUN git apply op-node-lisk-sepolia.patch && \
+ cd op-node && \
make VERSION=$VERSION op-node

FROM rust:$RUST_VERSION AS reth
27 changes: 21 additions & 6 deletions reth/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
ARG GOLANG_VERSION=1.24
ARG RUST_VERSION=1.88
ARG GOLANG_VERSION=1.26
ARG RUST_VERSION=1.94
ARG UBUNTU_VERSION=25.04

FROM golang:$GOLANG_VERSION AS op

WORKDIR /app

RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
RUN apt-get update && apt-get install -y jq zip && rm -rf /var/lib/apt/lists/*
ENV YQ_VERSION=v4.44.1
RUN ARCH=$(dpkg --print-architecture) && \
case "$ARCH" in \
amd64) YQ_SHA256=6dc2d0cd4e0caca5aeffd0d784a48263591080e4a0895abe69f3a76eb50d1ba3 ;; \
arm64) YQ_SHA256=8c12fcc10e14774ca6624cc282f092a526568b036fe1192258c3aecbad56d063 ;; \
*) echo "unsupported arch: $ARCH" >&2; exit 1 ;; \
esac && \
curl -fsSL "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${ARCH}" -o /usr/bin/yq && \
echo "${YQ_SHA256} /usr/bin/yq" | sha256sum -c - && \
chmod +x /usr/bin/yq
ENV REPO=https://github.com/ethereum-optimism/optimism.git
ENV VERSION=v1.19.0
ENV COMMIT=fffe406245952bbf9c6089bd127773e282e770f5
ENV VERSION=v1.19.1
ENV COMMIT=257012626a4eba436db17532b0b4e2c0dbe61bdb
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'

# op-node embeds superchain-configs.zip, generated from the superchain-registry
# submodule (gitignored in the source tree, so it must be built here).
RUN just build-superchain-go

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

Expand All @@ -27,8 +42,8 @@ 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.1
ENV COMMIT=3bccc608dc19beb9755abdcdd148bbf4ac12d12f
ENV VERSION=op-reth/v2.3.2
ENV COMMIT=fdca4cde225f141e61323007585ce3ae4b43248d
RUN git clone $REPO --branch $VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
Expand Down
Loading