Skip to content

opgeth-decoupling: retire the in-process op-geth L2 EL in op-e2e system tests and op-devstack/sysgo #21744

Closed
6 of 6 issues completed

Description

@sebastianst

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

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

🤖 Co-created with Claude Fable 5.2

Activity

  1. sebastianst commented on Oct 14, 2026

    @sebastianst
    MemberAuthor

    🤖 Opus 5.5 says: Scope note from the opgeth-ratchet audit (#21748). These op-geth-only uses go with the in-process L2 EL:

    • ethconfig.Config.InteropMessageRPC and InteropMempoolFiltering in sysgo/l2_el_opgeth.go.
    • The op-geth-lane KarstTime skip in sysgo's deployer.go.
    • miner.Config.RollupComputePendingBlock in op-e2e system/verifier/legacy_pending_test.go, a geth-pinned test.
    • The Rollup* ethconfig knobs in op-e2e/e2eutils/geth.

    The docs/ai/opgeth-decoupling.md §17 summary row now links this issue.

  2. self-assigned this
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions