Skip to content

Conversation

@rezzmah
Copy link
Contributor

@rezzmah rezzmah commented Dec 19, 2025

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_receipt to retrieve and serve preconfirmed state

@coderabbitai
Copy link

coderabbitai bot commented Dec 19, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch rezbera/use-modular-flashblocks

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rezzmah rezzmah changed the base branch from rezbera/bump-reth-1-9-3 to rezbera/temp-bump-to-reth-for-fb December 21, 2025 05:51
@rezzmah rezzmah changed the title temp feat: add modular flashblocks support Dec 21, 2025
@rezzmah rezzmah changed the title feat: add modular flashblocks support feat: ad flashblocks support to bera-reth Dec 21, 2025
@rezzmah rezzmah changed the title feat: ad flashblocks support to bera-reth feat: add flashblocks support to bera-reth Dec 21, 2025
@rezzmah
Copy link
Contributor Author

rezzmah commented Dec 21, 2025

leverages the work in paradigmxyz/reth#20122

/// .with_flashblocks_listeners(listeners);
/// let add_ons = BerachainAddOns::new(eth_api_builder);
/// ```
pub fn new(eth_api_builder: BerachainEthApiBuilder) -> Self {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

todo: builder pattern?

@rezzmah rezzmah changed the base branch from rezbera/temp-bump-to-reth-for-fb to rezbera/block-assembler-fix December 23, 2025 13:54
@rezzmah rezzmah force-pushed the rezbera/use-modular-flashblocks branch 2 times, most recently from ca1a914 to 88fe631 Compare December 23, 2025 13:59
@rezzmah rezzmah force-pushed the rezbera/use-modular-flashblocks branch from aeb681a to 86b62ae Compare December 26, 2025 10:08
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