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

Backtest build block app for synthetic blocks. #344

Merged
merged 6 commits into from
Jan 15, 2025

Conversation

ZanCorDX
Copy link
Contributor

@ZanCorDX ZanCorDX commented Jan 6, 2025

📝 Summary

This PR makes backtest-build-block more versatile so the chain used and orders come from an OrdersSource instead of the hardcoded mainnet we had.
The original backtest_build_block behavior is now achieved using the OrdersSource LandedBlockFromDBOrdersSource.
A new OrdersSource SyntheticOrdersSource is provided as an example of how to run backtest-build-block with a syntetic chain and synthetic orders.

💡 Motivation and Context


✅ I have completed the following steps:

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

Copy link

github-actions bot commented Jan 6, 2025

Benchmark results for 11311e8

Report: https://flashbots-rbuilder-ci-stats.s3.us-east-2.amazonaws.com/benchmark/11311e8-06840a8/report/index.html

Date (UTC) 2025-01-06T21:53:10+00:00
Commit 11311e851230a8f8e7723c21881ab1ae4baad37c
Base SHA 06840a87a5330a776f1566f7831b406738616b96

Significant changes

Benchmark Mean Status
gather_nodes_big_changes_account 2.05% Performance has degraded.
MEV-Boost SubmitBlock serialization/JSON encoding 3.64% Performance has degraded.

## 📝 Summary

- Removes a `redact-sensitive` check following
#332
- Scales up the CI runners to solve OOM issue
https://github.com/flashbots/rbuilder/actions/runs/12640958168?pr=344
@ZanCorDX ZanCorDX requested a review from sukoneck as a code owner January 7, 2025 14:38
@ZanCorDX ZanCorDX merged commit 394eb8c into develop Jan 15, 2025
4 checks passed
@ZanCorDX ZanCorDX deleted the build-block-synthetic branch January 15, 2025 13:59
@ZanCorDX ZanCorDX mentioned this pull request Jan 15, 2025
3 tasks
sukoneck pushed a commit that referenced this pull request Jan 15, 2025
## 📝 Summary

For some reason github allowed to merge
#344 with errors!
Fixed those errors and also disabled roothash calculation on
backtesting.

## 💡 Motivation and Context

I was threatened by the the other programmers.

## ✅ I have completed the following steps:

* [X] Run `make lint`
* [X] Run `make test`
* [ ] Added tests (if applicable)
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.

3 participants