update and patch
This commit is contained in:
@@ -10,6 +10,12 @@ ARG OP_VERSION=v1.9.4
|
||||
RUN git clone $OP_REPO --branch op-node/$OP_VERSION --single-branch . && \
|
||||
git switch -c branch-$OP_VERSION
|
||||
|
||||
# Apply patch if provided and valid
|
||||
RUN if [[ -n "$OP_PATCH" && -f "$OP_PATCH" ]]; then \
|
||||
git apply "$OP_PATCH"; \
|
||||
else \
|
||||
echo "No valid patch file found in \$OP_PATCH"; \
|
||||
fi
|
||||
|
||||
RUN cd op-node && \
|
||||
make op-node
|
||||
|
||||
20
op/sepolia/lisk/op-node.patch
Normal file
20
op/sepolia/lisk/op-node.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
Subject: [PATCH] Lisk Sepolia patch
|
||||
---
|
||||
Index: op-node/rollup/derive/system_config.go
|
||||
IDEA additional info:
|
||||
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||
<+>UTF-8
|
||||
===================================================================
|
||||
diff --git a/op-node/rollup/derive/system_config.go b/op-node/rollup/derive/system_config.go
|
||||
--- a/op-node/rollup/derive/system_config.go (revision bd0ef87f20bc2575c060571b92de9b4ce249fac5)
|
||||
+++ b/op-node/rollup/derive/system_config.go (revision 8c0a1fc612c062a61253cb2763796f1bffe95e89)
|
||||
@@ -142,6 +142,9 @@
|
||||
destSysCfg.GasLimit = gasLimit
|
||||
return nil
|
||||
case SystemConfigUpdateEIP1559Params:
|
||||
+ if !rollupCfg.IsHolocene(l1Time) {
|
||||
+ return nil // ignore event prior to Holocene
|
||||
+ }
|
||||
if pointer, err := solabi.ReadUint64(reader); err != nil || pointer != 32 {
|
||||
return NewCriticalError(errors.New("invalid pointer field"))
|
||||
}
|
||||
@@ -25,7 +25,8 @@
|
||||
"ecotone_time": 1708534800,
|
||||
"fjord_time": 1716998400,
|
||||
"granite_time": 1723478400,
|
||||
"channel_timeout": 50,
|
||||
"holocene_time": 1732633200,
|
||||
"channel_timeout": 300b,
|
||||
"seq_window_size": 3600,
|
||||
"batch_inbox_address": "0xff00000000000000000000000000000000004202",
|
||||
"max_sequencer_drift": 600,
|
||||
|
||||
Reference in New Issue
Block a user