-
Notifications
You must be signed in to change notification settings - Fork 9
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
[SERVICES-1740] optimal staking compound #1123
[SERVICES-1740] optimal staking compound #1123
Conversation
Signed-off-by: Claudiu Lataretu <[email protected]>
Signed-off-by: Claudiu Lataretu <[email protected]>
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.
Overall the logic is correct. Added a few comments for possible improvements.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## development #1123 +/- ##
===============================================
+ Coverage 56.38% 56.51% +0.12%
===============================================
Files 233 233
Lines 7748 7778 +30
Branches 518 519 +1
===============================================
+ Hits 4369 4396 +27
- Misses 2936 2938 +2
- Partials 443 444 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
- iterate over the number of hours in a year Signed-off-by: Claudiu Lataretu <[email protected]>
- express interval in days hours minutes - add optimal profit field Signed-off-by: Claudiu Lataretu <[email protected]>
Reasoning
Proposed Changes
How to test