Skip to content

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

@codspeed-hq
Copy link

codspeed-hq bot commented Aug 7, 2025

CodSpeed Performance Report

Merging #313 will not alter performance

Comparing feat-forward-sequencer-no-blocking (886f8ea) with scroll (5a7d446)

Summary

✅ 77 untouched benchmarks

Copy link

@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.

couple of nits, I think you also forgot about setting the propagate_local_transactions field for the ScrollEthApiBuilder in launch_add_ons method.

@yiweichi yiweichi requested a review from greged93 August 11, 2025 06:16
Copy link

@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 b364426 into scroll Aug 11, 2025
43 checks passed
@yiweichi yiweichi deleted the feat-forward-sequencer-no-blocking branch August 11, 2025 06:34
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