Closed ferranbt closed 1 week ago
5f37b72
Date (UTC) | 2024-07-09T04:28:52+00:00 |
Commit | 5f37b721a20f19fd8a3768848a462cabdc536fb2 |
Base SHA | b2cb71773c8d0c679ff56cd39b79010e6a48ed34 |
Benchmark | Mean | Status |
---|---|---|
MEV-Boost SubmitBlock serialization/JSON encoding | -8.12% | Performance has improved. |
📝 Summary
This PR removes the hardcoded data sources in the HistoricalDataFetcher and replaces them with a dynamic Datasource trait.
💡 Motivation and Context
Before, the two main data sources (mempool dumpster, fb relay) were hardcoded in the HistoricalDataFetcher service. Now, the structure is more flexible and new data sources can be plugged into the HistoricalDataFetcher without any changes to it.
✅ I have completed the following steps:
make lint
make test