feat(optimism): Add launch_wss_flashblocks_service function spawning a task sending last pending block#18067
Merged
RomanHodulak merged 1 commit intomainfrom Aug 26, 2025
Merged
Conversation
…g a task sending last pending block
0cbdf3d to
7d0762d
Compare
FlashBlockService when websocket URL is provided in OpEthApilaunch_wss_flashblocks_service function spawning a task sending last pending block
mattsse
approved these changes
Aug 26, 2025
| + 'static, | ||
| { | ||
| let stream = FlashBlockWsStream::new(ws_url); | ||
| let mut service = FlashBlockService::new(stream, evm_config, provider, ()); |
Collaborator
There was a problem hiding this comment.
looking at
I think we dont even need the Builder == () here because we already have all the infos here
in fact using BuildPendingEnv would result in an incorrect block, but we can tackle this next, we likely need to restrict
from<ExecutionPayloadBaseV1>
or smth like this
lwedge99
pushed a commit
to sentioxyz/reth
that referenced
this pull request
Sep 16, 2025
…g a task sending last pending block (paradigmxyz#18067)
theochap
pushed a commit
to ethereum-optimism/optimism
that referenced
this pull request
Jan 22, 2026
…g a task sending last pending block (paradigmxyz/reth#18067)
theochap
pushed a commit
to ethereum-optimism/optimism
that referenced
this pull request
Feb 11, 2026
…g a task sending last pending block (paradigmxyz/reth#18067)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #17858
Adds a function for launching the flashblock service and getting a receiver for last pending block.