-
Notifications
You must be signed in to change notification settings - Fork 490
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
Blocks: Bump min to save based on catchpoint support #5927
Blocks: Bump min to save based on catchpoint support #5927
Conversation
…atchup from a recent catchpoint into account.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5927 +/- ##
==========================================
- Coverage 56.00% 55.95% -0.05%
==========================================
Files 478 478
Lines 67561 67569 +8
==========================================
- Hits 37835 37807 -28
- Misses 27174 27205 +31
- Partials 2552 2557 +5 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok to me, with a little less float
and named returns.
I didn't realize that CatchpointInterval was a config value. Seems weird to me.
…nCatchpointRoundsLookback.
…ections/cut test runtime down below 0.5 seconds.
Summary
Support minimum number of rounds saved that takes the being able to catchup from a recent catchpoint into account.
Test Plan
Added a new unit test that exercises the impact of enabling/disabling catchpoint support on ledger's
minToSave
calculation.