Repository navigation
Description
Part of #20257. See §17 of the op-geth decoupling doc. Blocks #20266.
Problem
op-e2e system tests and op-devstack/sysgo can still run op-geth in-process as the L2 EL:
op-e2e/e2eutils/geth.InitL2 (selected via the e2eutils/el.InitL2 factory's ELKindOpGeth)
and op-devstack/sysgo/l2_el_opgeth.go. After the go.mod flip (#20266) these would silently run
upstream go-ethereum as the L2 EL — wrong OP state transition, no compile error to warn us.
(The in-process L1 geth miner is unaffected: plain Ethereum semantics are exactly right for it
under upstream.)
The seams already exist: el.InitL2 selects between in-process op-geth and external-process
op-reth, sysgo has l2_el_opreth.go, and op-acceptance-tests already sequence op-reth-only for
Karst+ (#21182).
Current state
- No CI lane selects the op-geth L2 EL through the environment. op-e2e defaults to op-reth and nothing sets
OP_E2E_L2_EL_KIND; both acceptance-test jobs passl2_el_kind: op-reth. op-geth runs as an L2 EL only where code pins it. - op-e2e pins:
TestPendingGasLimit,TestPendingBlockIsLatest,TestTxGossip, the DA throttling tests and the pre-RegolithTestFeessubtest underop-e2e/system, plus theop-e2e/opgethpackage, which also callsgeth.InitL2directly (opgeth-decoupling: delete op-e2e/opgeth/ package #20275, deleted by all: port the fuzzers, delete op-e2e/opgeth, swap test symbols to op-core #23864). - Acceptance tests: the
safedb_parityCL-resync test hard-codesMixedL2ELOpGethand runs in CI (op-acceptance-tests: run the safedb_parity CL-resync test on op-reth #24086). The tests that skip on op-reth are tracked in op-acceptance-tests: remove every SkipOnOpReth skip #23317. - op-e2e: Remove pre-Regolith tests and/or fix op-reth's system tx return type #21451: op-alloy,kona!,op-reth!: fix Bedrock deposit decoding and pin gas parity #22946 fixed op-reth's
isSystemTxdecoding, so the original reason for the pre-Regolith pin is gone. The subtest is deleted anyway; no live chain separates Bedrock and Regolith activation.
Work
| Step | Scope | Needs |
|---|---|---|
| A | Resolve the geth-pinned tests under op-e2e/system: delete TestPendingGasLimit, TestTxGossip and the pre-Regolith fees subtest; unpin TestPendingBlockIsLatest and the DA throttling tests. Closes #21451. |
— |
| B | Remove the op-e2e seam: services.ELKind, OP_E2E_L2_EL_KIND, WithL2ELKind, the GethOptions plumbing, geth.InitL2, WithSequencerHTTP, WithP2P. |
A, #23864 |
| C | The SkipOnOpReth tests without a PR: TestVerifierManualSync, TestL2ELP2PCanonicalChainAdvancedByFCU, TestSyncTesterHardforks (#23317). |
— |
| D | safedb_parity CL-resync test on op-reth with Wipe() (#24086). |
#23827 |
| E | Remove the sysgo seam (#24149): l2_el_opgeth.go, MixedL2ELOpGeth, DEVSTACK_L2EL_KIND, SkipOnOpReth, SkipOnOpGeth, the op-geth Karst skip in deployer.go, the l2_el_kind CI parameter, the op-geth option in the op-reth proofs preset, and the docs. |
C, D, #23827, #24073 |
| F | Derive SupportsPostFinalizationELSync from the EL kind (#23318). |
E |
Open PRs must not add new uses of the op-geth L2 EL (MixedL2ELOpGeth, DEVSTACK_L2EL_KIND=op-geth, op-geth CI jobs); E has to delete every one of them.
Acceptance criteria
- No in-process op-geth L2 EL construction remains in op-e2e or op-devstack, and no EL-kind selector or skip helper for it.
- System/devstack test suites green on op-reth-only L2 ELs.
- op-e2e: Remove pre-Regolith tests and/or fix op-reth's system tx return type #21451, op-acceptance-tests: remove every SkipOnOpReth skip #23317, op-devstack: sysgo hard-codes SupportsPostFinalizationELSync=false while running op-reth #23318 and op-acceptance-tests: run the safedb_parity CL-resync test on op-reth #24086 closed.
🤖 Co-created with Claude Fable 5.2
Activity
sebastianst commentedon Oct 14, 2026
🤖 Opus 5.5 says: Scope note from the
opgeth-ratchetaudit (#21748). These op-geth-only uses go with the in-process L2 EL:ethconfig.Config.InteropMessageRPCandInteropMempoolFilteringinsysgo/l2_el_opgeth.go.KarstTimeskip in sysgo'sdeployer.go.miner.Config.RollupComputePendingBlockin op-e2esystem/verifier/legacy_pending_test.go, a geth-pinned test.Rollup*ethconfig knobs inop-e2e/e2eutils/geth.The docs/ai/opgeth-decoupling.md §17 summary row now links this issue.
ci: drop the op-geth SafeDB resync step