Skip to content

audit-fix(rollup,bridge): snapshot timing windows and freeze receive deadline#40

Closed
d1r1 wants to merge 2 commits into
audit/restore-deposits-on-force-revert-49from
audit/snapshot-deadlines-50
Closed

audit-fix(rollup,bridge): snapshot timing windows and freeze receive deadline#40
d1r1 wants to merge 2 commits into
audit/restore-deposits-on-force-revert-49from
audit/snapshot-deadlines-50

Conversation

@d1r1
Copy link
Copy Markdown
Contributor

@d1r1 d1r1 commented Apr 7, 2026

resolve issue 50

  • commit validUntilBlockNumber into L1→L2 message hash
  • move receiveMessageDeadline storage from L2 to L1
  • reject zero deadline on L1 to prevent stuck funds
  • charge L2 send fee after snapshot to isolate treasury
  • require L1 block oracle unconditionally on L2 receive
  • freeze submitBlobs / challenge / finalization windows per batch
  • pack 3×uint32 snapshots into existing BatchRecord slot

d1r1 added 2 commits April 8, 2026 01:02
  - freeze submitBlobs/challenge/finalization windows per batch
  - admin updates no longer affect in-flight batches
  - pack 3×uint32 snapshots into existing BatchRecord slot
  - shrink acceptedAtBlock to uint48 for packing headroom
  - remove preconfirmWindow entirely, simplify corruption checks
  - commit validUntilBlockNumber into L1->L2 message hash
  - move receiveMessageDeadline storage from L2 to L1
  - reject zero deadline on L1 to prevent stuck funds
  - charge L2 send fee after snapshot to isolate treasury
  - require L1 block oracle unconditionally on L2 receive
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 7, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 159efbf4-40c7-4f03-9074-495e062da1f0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch audit/snapshot-deadlines-50

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@d1r1 d1r1 changed the title fix: snapshot timing windows and freeze receive deadline audit-fix: snapshot timing windows and freeze receive deadline Apr 7, 2026
@d1r1 d1r1 changed the title audit-fix: snapshot timing windows and freeze receive deadline audit-fix(rollup,bridge): snapshot timing windows and freeze receive deadline Apr 7, 2026
@chillhacker chillhacker deleted the audit/snapshot-deadlines-50 branch May 12, 2026 15:18
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