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

feat: Add a lower block bound to check_provider_factory_health #32

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

ferranbt
Copy link
Contributor

@ferranbt ferranbt commented Jul 5, 2024

📝 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:

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

Copy link

github-actions bot commented Jul 5, 2024

Benchmark results for 9c514d7

Report: https://flashbots-rbuilder-ci-stats.s3.us-east-2.amazonaws.com/benchmark/9c514d7-a25f33b/report/index.html

Date (UTC) 2024-07-05T07:58:16+00:00
Commit 9c514d75acd124ac316fa18d3f42df47e08ff2b7
Base SHA a25f33b44d80a9ea12ac5ea2e68e54a89ce092a8

Significant changes

None

@ferranbt ferranbt merged commit 86874d2 into develop Jul 5, 2024
2 checks passed
@ferranbt ferranbt deleted the ferranbt/fix-out-of-bounds-factory-health-check branch July 5, 2024 13:27
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