Skip to content

feat(celo-derive): add batch-auth enforcement grace window (mirrors op-node)#240

Merged
piersy merged 3 commits into
mainfrom
espresso/enforcement-window
Jul 16, 2026
Merged

feat(celo-derive): add batch-auth enforcement grace window (mirrors op-node)#240
piersy merged 3 commits into
mainfrom
espresso/enforcement-window

Conversation

@lukeiannucci

@lukeiannucci lukeiannucci commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Mirrors PR found celo-org/optimism#468

During the grace window [EspressoTime, EspressoTime + BatchAuthEnforcementDelaySecs), derivation keeps accepting sender-authenticated batches exactly as pre-fork this absorbs the skew between when the batcher decides a batch (L1 tip time) and when it lands (containing-block time), which the lead time previously compensated for. The batcher now switches to authenticated submission at plain activation (IsEspresso(l1Tip.Time)) with no configuration. By the time enforcement begins its auth events have been accumulating for a full lookback window, so the first enforced scan is fully populated.

@piersy

piersy commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Hey @lukeiannucci, is this ready to be reviewed now?

@lukeiannucci

lukeiannucci commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

Hey @lukeiannucci, is this ready to be reviewed now?

@piersy
I will finish it today!

@lukeiannucci
lukeiannucci marked this pull request as ready for review July 14, 2026 23:06
@lukeiannucci
lukeiannucci force-pushed the espresso/enforcement-window branch from dfae32c to 16f87be Compare July 14, 2026 23:06
@lukeiannucci lukeiannucci changed the title mirror go pr for auth window feat(celo-derive): add batch-auth enforcement grace window (mirrors op-node) Jul 14, 2026

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dfae32cdeb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread crates/kona/derive/src/batch_auth.rs
Comment thread crates/kona/genesis/src/rollup.rs Outdated
Comment thread crates/kona/genesis/src/rollup.rs Outdated
Comment thread crates/kona/genesis/src/rollup.rs Outdated
@piersy
piersy merged commit b2f9f6d into main Jul 16, 2026
24 of 25 checks passed
@piersy
piersy deleted the espresso/enforcement-window branch July 16, 2026 22:26
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