forked from base-org/node
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdockerfile-lisk-sepolia.patch
34 lines (30 loc) · 1.27 KB
/
dockerfile-lisk-sepolia.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/geth/Dockerfile b/geth/Dockerfile
index 7316271..86e9a33 100644
--- a/geth/Dockerfile
+++ b/geth/Dockerfile
@@ -9,7 +9,11 @@ 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 && \
+# 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 golang:1.22 AS geth
diff --git a/reth/Dockerfile b/reth/Dockerfile
index 0144140..bbb833f 100644
--- a/reth/Dockerfile
+++ b/reth/Dockerfile
@@ -9,7 +9,11 @@ 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 && \
+# 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:1.82 AS reth