Skip to content

op-acceptance: Add tests for invalid messages to op-acceptance.#19242

Merged
wwared merged 11 commits intodevelopfrom
aj/invalid-message-tests
Mar 20, 2026
Merged

op-acceptance: Add tests for invalid messages to op-acceptance.#19242
wwared merged 11 commits intodevelopfrom
aj/invalid-message-tests

Conversation

@ajsutton
Copy link
Contributor

Description

Currently fail to setup because supernode doesn't actually remove the invalid transaction.

Tests

Additional context

Metadata

@ajsutton ajsutton force-pushed the aj/invalid-message-tests branch 2 times, most recently from 0c9aded to f3d7ee8 Compare February 22, 2026 14:58
ajsutton added a commit that referenced this pull request Feb 24, 2026
…erop flag

Extracts genesis timestamp resolution out of WithSharedSupernodeCLsInterop
and into withSharedSupernodeCLsImpl via a new UseGenesisInterop field on
SupernodeConfig. Adds WithSupernodeInteropAtGenesis() option and threads
snOpts through defaultSupernodeSuperProofsSystem so callers can pass
supernode options independently of deployer options.

Ported from #19242

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ajsutton added a commit that referenced this pull request Feb 25, 2026
…erop flag

Extracts genesis timestamp resolution out of WithSharedSupernodeCLsInterop
and into withSharedSupernodeCLsImpl via a new UseGenesisInterop field on
SupernodeConfig. Adds WithSupernodeInteropAtGenesis() option and threads
snOpts through defaultSupernodeSuperProofsSystem so callers can pass
supernode options independently of deployer options.

Ported from #19242

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
github-merge-queue bot pushed a commit that referenced this pull request Feb 26, 2026
…erop flag (#19302)

* op-devstack: refactor genesis interop activation to use UseGenesisInterop flag

Extracts genesis timestamp resolution out of WithSharedSupernodeCLsInterop
and into withSharedSupernodeCLsImpl via a new UseGenesisInterop field on
SupernodeConfig. Adds WithSupernodeInteropAtGenesis() option and threads
snOpts through defaultSupernodeSuperProofsSystem so callers can pass
supernode options independently of deployer options.

Ported from #19242

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Skip failing test.

* Move test that stops the batcher to its own package.

* Skip one more test.

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@ajsutton ajsutton force-pushed the aj/invalid-message-tests branch from 44e14d1 to a003f4f Compare March 5, 2026 23:54
ajsutton added a commit that referenced this pull request Mar 6, 2026
TestInteropFaultProofs_InvalidBlock and the ChainContinuesAfterReplacement
sub-test in TestSupernodeInteropInvalidMessageReplacement both test supernode
behavior that is not yet implemented (replacing invalid blocks and continuing
to validate after replacement). Skip them with TODO(#19242) comments following
the existing pattern in this codebase.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ajsutton ajsutton force-pushed the aj/invalid-message-tests branch from 4cc9650 to 209185c Compare March 9, 2026 04:21
@ajsutton ajsutton force-pushed the aj/invalid-message-tests branch from 209185c to 6548589 Compare March 17, 2026 22:49
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.3%. Comparing base (ab262e4) to head (a61fe3d).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #19242      +/-   ##
===========================================
  Coverage     75.2%    75.3%              
===========================================
  Files          680      485     -195     
  Lines        71998    60696   -11302     
===========================================
- Hits         54184    45733    -8451     
+ Misses       17670    14963    -2707     
+ Partials       144        0     -144     
Flag Coverage Δ
cannon-go-tests-64 ?
contracts-bedrock-tests ?
unit 75.3% <ø> (-0.1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 199 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.

@ajsutton ajsutton force-pushed the aj/invalid-message-tests branch 2 times, most recently from d649376 to a61fe3d Compare March 19, 2026 03:33
@ajsutton ajsutton marked this pull request as ready for review March 19, 2026 23:50
@ajsutton ajsutton requested a review from a team as a code owner March 19, 2026 23:50
ajsutton and others added 11 commits March 19, 2026 23:54
Currently fail to setup because supernode doesn't actually remove the invalid transaction.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Skip until supernode removes invalid transactions from blocks.
See #19411.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ajsutton ajsutton force-pushed the aj/invalid-message-tests branch from a61fe3d to 49d6d86 Compare March 20, 2026 00:24
@wwared wwared added this pull request to the merge queue Mar 20, 2026
Merged via the queue into develop with commit e4a341c Mar 20, 2026
102 checks passed
@wwared wwared deleted the aj/invalid-message-tests branch March 20, 2026 12:51
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.

2 participants