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

Rbuilder-inprocess receive txns from Reth #295

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

ferranbt
Copy link
Contributor

@ferranbt ferranbt commented Dec 18, 2024

πŸ“ Summary

Fixes #293

This PR overrides the IPC rbuilder config with the one used by the Reth node.


βœ… I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

Copy link

Benchmark results for 9060ba6

Report: https://flashbots-rbuilder-ci-stats.s3.us-east-2.amazonaws.com/benchmark/9060ba6-2e4c1ab/report/index.html

Date (UTC) 2024-12-18T16:24:49+00:00
Commit 9060ba6415e1da082724a2eee4640f8df52ae45f
Base SHA 2e4c1ab8bc46e6110ef58fe39ac46160f6a7abbe

Significant changes

Benchmark Mean Status
gather_nodes_account_trie 2.62% Performance has degraded.
ptr_trie_insert_only_3000 2.60% Performance has degraded.
gather_nodes_big_changes_account 2.44% Performance has degraded.
MEV-Boost SubmitBlock serialization/JSON encoding -36.63% Performance has improved.
gather_nodes_empty_account -25.15% Performance has improved.

Comment on lines +87 to +91
let ipc_path = if ctx.config().rpc.is_ipc_enabled() {
Some(PathBuf::from(ctx.config().rpc.ipc_path()))
} else {
None
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you move this insde spawn_rbuilder or as a func to avoid more copy/paste?

Copy link
Contributor Author

@ferranbt ferranbt Dec 19, 2024

Choose a reason for hiding this comment

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

Moved it to draft, it did not show the improvement I was expecting. I have to debug more.

@ferranbt ferranbt marked this pull request as draft December 19, 2024 14:58
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.

Sync Reth transactions to in-process Rbuilder
2 participants