Skip to content

test(zone): cover configurable batch anchor stepping#433

Open
mattsse wants to merge 1 commit intomainfrom
codex/configurable-batch-anchor-tests
Open

test(zone): cover configurable batch anchor stepping#433
mattsse wants to merge 1 commit intomainfrom
codex/configurable-batch-anchor-tests

Conversation

@mattsse
Copy link
Copy Markdown
Contributor

@mattsse mattsse commented Apr 24, 2026

Summary

  • Add BatchAnchorConfig so the batch submitter can use the production EIP-2935 window by default while integration tests can shrink the window to a few blocks.
  • Thread the anchor config through the sequencer, zone monitor, CLI defaults, and integration test helper.
  • Keep ancestry submissions on the recent-anchor path while leaving verifier config and proof bytes empty until real proof generation is implemented.
  • Keep the long ignored extended-gap test, and add fast configured-window stepping tests that verify ancestry calldata and multiple stepping batch submissions.

Why

The existing ignored extended-gap test needs thousands of L1 blocks before it can exercise the out-of-window path. Configurable limits let the same behavior run with a 10-block test window, making the stepping and ancestry paths practical to cover in regular integration tests.

@mattsse mattsse requested a review from 0xKitsune as a code owner April 24, 2026 12:25
@mattsse mattsse force-pushed the codex/configurable-batch-anchor-tests branch from f33e534 to 0a751c0 Compare April 24, 2026 12:33
@mattsse mattsse force-pushed the codex/configurable-batch-anchor-tests branch from 0a751c0 to 6a6ee2e Compare April 24, 2026 12:34
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