Skip to content

op-acceptance: migrate interop tests to supernode, skip on op-reth#19754

Merged
wwared merged 2 commits intodevelopfrom
gs/interop-tests
Mar 25, 2026
Merged

op-acceptance: migrate interop tests to supernode, skip on op-reth#19754
wwared merged 2 commits intodevelopfrom
gs/interop-tests

Conversation

@wwared
Copy link
Copy Markdown
Contributor

@wwared wwared commented Mar 25, 2026

Summary

  • Migrate interop acceptance tests from supervisor-based presets (NewSimpleInterop) to supernode-based presets (NewTwoL2SupernodeInterop) where the change is mechanical
  • Convert unconditional t.Skip() calls to SkipOnOpReth() for tests that only fail on op-reth (feat(op-reth): implement interop tx pool filter and reorg eviction #19411)
  • Fix SkipOnOpReth helper to skip when EL kind is anything other than op-geth (not just when it equals op-reth)

Tests migrated to supernode preset

  • TestReorgInvalidExecMsgs — also replaced Supervisor.SafeBlockID convergence check with Supernode.AwaitValidatedTimestamp
  • TestInteropHappyTx
  • TestInteropMon
  • TestL2CLResync

Tests converted from unconditional skip to SkipOnOpReth

  • TestRelayWithInvalidMessagesSteady
  • TestReorgInitExecMsg
  • TestReorgInvalidExecMsgs

Other

  • TestInteropFaultProofs_InvalidBlock remains fully skipped — broken on all EL backends due to supernode proof expectation mismatches
  • Fix AssertTxInBlock doc comment
  • Normalize TODO comment format to #19411 short form

Test plan

  • All non-skipped tests pass with DEVSTACK_L2EL_KIND=op-geth
  • TestReorgInvalidExecMsgs (3 subtests) — PASS on supernode preset
  • TestReorgInitExecMsg — PASS
  • TestRelayWithInvalidMessagesSteady — PASS
  • TestSupernodeInteropInvalidMessageReplacement — PASS
  • TestSupernodeSameTimestampInvalidTransitive — PASS
  • TestSupernodeSameTimestampCycle — PASS
  • TestInteropFaultProofs_InvalidBlock — correctly SKIPs
  • TestInteropHappyTx, TestInteropMon, TestL2CLResync — correctly SKIP (compile clean)

Migrate interop acceptance tests from supervisor-based presets
(NewSimpleInterop) to supernode-based presets (NewTwoL2SupernodeInterop)
where the change is mechanical (preset swap + field renames).

Tests migrated to supernode preset:
- TestReorgInvalidExecMsgs (reorgs/ — also replaced Supervisor.SafeBlockID
  convergence check with Supernode.AwaitValidatedTimestamp)
- TestInteropHappyTx (message/)
- TestInteropMon (message/)
- TestL2CLResync (sync/simple_interop/)

Tests converted from unconditional skip to SkipOnOpReth:
- TestRelayWithInvalidMessagesSteady (loadtest/)
- TestReorgInitExecMsg (reorgs/)
- TestReorgInvalidExecMsgs (reorgs/)

TestInteropFaultProofs_InvalidBlock remains fully skipped — broken on all
EL backends due to supernode proof expectation mismatches.

Other changes:
- Fix SkipOnOpReth helper to skip when EL kind is anything other than
  op-geth (not just when it equals op-reth)
- Fix AssertTxInBlock doc comment
- Normalize TODO comment format to use #19411 short form
@wwared wwared requested a review from a team as a code owner March 25, 2026 19:14
Copy link
Copy Markdown
Contributor

@karlfloersch karlfloersch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me! One small nit

Also - I don't really understand https://github.com/ethereum-optimism/optimism/pull/19754/changes#r2990460312 so if there's something related to kona proofs that should be blocking this pr then please don't take my approval as gospel.

@wwared wwared added this pull request to the merge queue Mar 25, 2026
Merged via the queue into develop with commit b64b181 Mar 25, 2026
105 checks passed
@wwared wwared deleted the gs/interop-tests branch March 25, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants