op-acceptance-tests: migrate TestInteropFaultProofs_IntraBlock#19997
Open
op-acceptance-tests: migrate TestInteropFaultProofs_IntraBlock#19997
Conversation
…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>
ec1fa75 to
f1bff36
Compare
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 Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TestInteropFaultProofs_IntraBlockfromop-e2e/actions/interop/proofs_test.gotoop-acceptance-testsusing the devstack DSL and supernode infrastructureTowards #19010
Test plan
ExpectInvalidPendingBlock(optimistic == cross-safe)🤖 Generated with Claude Code