Skip to content

refactor: make tx forwarding to sequencer non-blocking if tx propagation enabled#240

Merged
yiweichi merged 10 commits intomainfrom
feat-forward-sequencer-no-blocking
Aug 12, 2025
Merged

refactor: make tx forwarding to sequencer non-blocking if tx propagation enabled#240
yiweichi merged 10 commits intomainfrom
feat-forward-sequencer-no-blocking

Conversation

@yiweichi
Copy link
Member

@yiweichi yiweichi commented Aug 7, 2025

This PR makes tx forwarding non-blocking if the tx propagation is enabled. If the tx propagation is disabled (private mempool mode) then the forwarding is done synchronously to notify the user. In the additional case this is not necessary as it is optional and in the failure case the transaction will simply be broadcast like usual via gossip (public mempool).

Corresponding l2geth PR: scroll-tech/go-ethereum#1227
Corresponding Reth PR: scroll-tech/reth#313

Copy link
Contributor

@greged93 greged93 left a comment

Choose a reason for hiding this comment

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

lgtm!

@yiweichi yiweichi merged commit 3b7f1de into main Aug 12, 2025
13 checks passed
@yiweichi yiweichi deleted the feat-forward-sequencer-no-blocking branch August 12, 2025 09:12
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

Comments