Skip to content

Decouple DAGroup and TEE-authenticated group#258

Merged
QuentinI merged 3 commits intoag/origin-heightfrom
ag/parallel-submissions
Nov 7, 2025
Merged

Decouple DAGroup and TEE-authenticated group#258
QuentinI merged 3 commits intoag/origin-heightfrom
ag/parallel-submissions

Conversation

@QuentinI
Copy link
Copy Markdown
Collaborator

@QuentinI QuentinI commented Nov 5, 2025

Closes #<ISSUE_NUMBER>

This PR:

  • Uses a separate errgroup for goroutines that authenticate transactions before posting on L1.
    daGroup has different semantics, and rightfully is set to limit of 1 by default.
  • makes BatchSubmitter.sendTx block when the errgroup is full instead of returning, which is how it works in non-Espresso context

This PR does not:

Key places to review:

@QuentinI QuentinI force-pushed the ag/parallel-submissions branch from 37718cb to dc29221 Compare November 6, 2025 17:48
Copy link
Copy Markdown

@dailinsubjam dailinsubjam left a comment

Choose a reason for hiding this comment

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

Nice.

prevCurrentL1 eth.L1BlockRef // cached CurrentL1 from the last syncStatus

espressoSubmitter *espressoTransactionSubmitter
teeAuthGroup errgroup.Group
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nit: do we want to add a comment mentioning something like sendTx will block when the errgroup is full?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Sure!

@QuentinI QuentinI force-pushed the ag/parallel-submissions branch from b7df713 to c569d16 Compare November 6, 2025 20:45
@QuentinI QuentinI merged commit 91484a9 into ag/origin-height Nov 7, 2025
33 checks passed
@QuentinI QuentinI deleted the ag/parallel-submissions branch November 7, 2025 14:04
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.

3 participants