Skip to content

feat(sequencer): add persistent batch submission actor - #1194

Open
adityapk00 wants to merge 2 commits into
aditya/batch-submission-api-groundworkfrom
aditya/persistent-batch-submission-actor
Open

feat(sequencer): add persistent batch submission actor#1194
adityapk00 wants to merge 2 commits into
aditya/batch-submission-api-groundworkfrom
aditya/persistent-batch-submission-actor

Conversation

@adityapk00

Copy link
Copy Markdown
Collaborator

Summary

Adds the persistent batch-submission actor and focused concurrency coverage.

Stacked on #1 of this series.

@adityapk00

Copy link
Copy Markdown
Collaborator Author

cyclops audit fast

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

cc @adityapk00

Cyclops audit event published. View workflow run

Config: config: default, iterations: 1, hours: default

@tempoxyz-bot tempoxyz-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👁️ Cyclops Review

PR #1194 adds and exports a staged, role-aware BatchSubmissionActor for zone-to-L1 settlement. Head drift was detected from the audited commit, so the findings were rechecked against the current PR head and still apply to the current diff. The remaining issues are Medium-severity liveness/handoff defects that should be fixed before wiring this actor into production.

Reviewer Callouts
  • Staged actor handoff: The new actor is exported but not yet production-wired; treat these as pre-integration blockers before replacing the supervised ZoneMonitor path.
  • Certificate wait/error hardening: wait_for_certificate directly awaits portal_block_hash during polling, so hung or failing L1 RPCs can still bypass the actor's unsent-operation handling; review this while redesigning retry/resync behavior.
  • Future caller contracts: Candidates are dropped while a boundary is active, and concurrent set_role callers can wait forever if another role supersedes their requested role. The future producer and role controller should have explicit serialization/backpressure semantics.

Comment thread crates/sequencer/src/batch_submission.rs
Comment thread crates/sequencer/src/batch_submission.rs Outdated
Comment thread crates/sequencer/src/batch_submission.rs Outdated
@adityapk00
adityapk00 force-pushed the aditya/persistent-batch-submission-actor branch from adf240b to 1ecba99 Compare August 17, 2026 12:39
@adityapk00
adityapk00 marked this pull request as ready for review August 17, 2026 18:52
@adityapk00
adityapk00 force-pushed the aditya/persistent-batch-submission-actor branch from 1ecba99 to 477dc47 Compare August 18, 2026 12:32
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