feat: add flashblocks support to bera-reth#202
Draft
rezzmah wants to merge 12 commits intorezbera/block-assembler-fixfrom
Draft
feat: add flashblocks support to bera-reth#202rezzmah wants to merge 12 commits intorezbera/block-assembler-fixfrom
rezzmah wants to merge 12 commits intorezbera/block-assembler-fixfrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Author
|
leverages the work in paradigmxyz/reth#20122 |
rezzmah
commented
Dec 23, 2025
| /// .with_flashblocks_listeners(listeners); | ||
| /// let add_ons = BerachainAddOns::new(eth_api_builder); | ||
| /// ``` | ||
| pub fn new(eth_api_builder: BerachainEthApiBuilder) -> Self { |
Contributor
Author
There was a problem hiding this comment.
todo: builder pattern?
correctly consume flashblocks from base correctly consume flashblocks from base Update mod.rs Update api.rs Update api.rs progress started
ca1a914 to
88fe631
Compare
aeb681a to
86b62ae
Compare
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.
This PR depends on paradigmxyz/reth#20122 and as such, updates the reth dependency to the latest reth branch which the PR #20122 targets.
Simply put, this PR spins up the Flashblocks listeners much in the same was as Optimism does in their RPC layer, then leverages RPC level overrides for implementations such as
transaction_receiptto retrieve and serve preconfirmed state