Closed ferranbt closed 2 weeks ago
If the current block number is less than 256, the check_provider_factory_health will overflow and check for the block of the max uint which will not exists. This can happen in devnets with a few blocks.
check_provider_factory_health
make lint
make test
9c514d7
Report: https://flashbots-rbuilder-ci-stats.s3.us-east-2.amazonaws.com/benchmark/9c514d7-a25f33b/report/index.html
9c514d75acd124ac316fa18d3f42df47e08ff2b7
a25f33b44d80a9ea12ac5ea2e68e54a89ce092a8
None
📝 Summary
If the current block number is less than 256, the
check_provider_factory_health
will overflow and check for the block of the max uint which will not exists. This can happen in devnets with a few blocks.✅ I have completed the following steps:
make lint
make test