Skip to content

op-acceptance-tests: migrate TestInteropFaultProofs_IntraBlock#19997

Open
Inphi wants to merge 2 commits intodevelopfrom
inphi/migrate-intrablock-test
Open

op-acceptance-tests: migrate TestInteropFaultProofs_IntraBlock#19997
Inphi wants to merge 2 commits intodevelopfrom
inphi/migrate-intrablock-test

Conversation

@Inphi
Copy link
Copy Markdown
Contributor

@Inphi Inphi commented Apr 9, 2026

Summary

  • Migrates TestInteropFaultProofs_IntraBlock from op-e2e/actions/interop/proofs_test.go to op-acceptance-tests using the devstack DSL and supernode infrastructure
  • 6 of 7 original sub-cases ported: CascadeInvalid, SwapCascadeInvalid, CyclicDependencyValid, CyclicDependencyInvalid, SameChainValid, SameChainInvalid, LongDependencyChainValid, and CyclicDependencyInvalid.

Towards #19010

Test plan

  • All 6 intra-block sub-cases pass locally (30/30 sub-tests)
  • Valid cases correctly skip ExpectInvalidPendingBlock (optimistic == cross-safe)
  • Invalid cases verify consolidation via both kona FPP and challenger trace provider

🤖 Generated with Claude Code

…p-e2e

Migrate the intra-block fault proof consolidation tests from
op-e2e/actions/interop/proofs_test.go to op-acceptance-tests using the
devstack DSL and supernode infrastructure.

Six of the original seven sub-cases are ported:
- CascadeInvalid / SwapCascadeInvalid (transitive invalidation)
- CyclicDependencyValid (valid cross-chain cycle)
- CyclicDependencyInvalid (both chains invalid)
- SameChainValid / SameChainInvalid (same-chain messaging)

The longDependencyChainValid case and a faithful cyclicDependencyInvalid
(pure exec→exec cycle) are left as TODOs — both require constructing
exec messages that reference other exec messages' ExecutingMessage events,
which the SameTimestampPair API does not yet support.

Closes #19010

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Inphi Inphi force-pushed the inphi/migrate-intrablock-test branch from ec1fa75 to f1bff36 Compare April 9, 2026 16:20
@Inphi Inphi marked this pull request as ready for review April 9, 2026 17:09
@Inphi Inphi requested a review from a team as a code owner April 9, 2026 17:09
Add PrecomputeExecEventMessage and SubmitExecForMessage to the DSL,
enabling construction of exec transactions that reference other exec
transactions' ExecutingMessage events before blocks are built.

Port the remaining two intra-block test cases from op-e2e:
- LongDependencyChainValid: depth-10 exec chain alternating A↔B
- CyclicDependencyInvalid: exec roundtrip A→B→A using fabricated
  pending message, matching the original action test approach

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.6%. Comparing base (9d68e89) to head (490bb23).
⚠️ Report is 11 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #19997      +/-   ##
===========================================
+ Coverage     11.7%    73.6%   +61.9%     
===========================================
  Files          677      194     -483     
  Lines        71141    10878   -60263     
===========================================
- Hits          8328     8008     -320     
+ Misses       62669     2726   -59943     
  Partials       144      144              
Flag Coverage Δ
cannon-go-tests-64 66.3% <ø> (ø)
contracts-bedrock-tests 77.9% <ø> (ø)
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 483 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant