Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncronous Chunks for L1Client #2582

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Syncronous Chunks for L1Client #2582

wants to merge 7 commits into from

Conversation

tbro
Copy link
Contributor

@tbro tbro commented Feb 11, 2025

Closes #2506

This PR:

Doesn't close the above, but it is nice to have in preparation for it. We are currently using streams and Futures to poll the L1 in a more or less performant way. This PR changes this to chunk polling synchronously to avoid complications and confusion with nested Futures inside tokio tasks. I split it off from #2506 to hopefully make it easier to review/test.

This PR does not:

It shouldn't change any behavior. The goal is parity with parent commit.

Key places to review:

  • impls/l1.rs
  • utils/src/syncronous_generator.rs

How to test this PR:

Tests are included. If there are missing tests please comment.

@tbro tbro force-pushed the tb/destroy-all-async branch from d3a65b5 to 13cabf6 Compare February 11, 2025 20:57
@tbro tbro marked this pull request as ready for review February 11, 2025 20:57
@tbro tbro force-pushed the tb/destroy-all-async branch from 13cabf6 to 1386ad3 Compare February 11, 2025 21:32
deepugami pushed a commit to deepugami/espresso-sequencer that referenced this pull request Feb 13, 2025
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.

1 participant