-
Notifications
You must be signed in to change notification settings - Fork 102
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1215 +/- ##
======================================
Coverage 71.0% 71.1%
======================================
Files 65 69 +4
Lines 6772 6800 +28
======================================
+ Hits 4814 4837 +23
- Misses 1183 1186 +3
- Partials 775 777 +2 |
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.
This looks perfect so far!
@anorth these things are decoupled from the raw math and worth your review (especially the first bullet)
It will help to read this commit by commit |
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.
Looks good as far as I can judge, after one fix.
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.
I have reviewed all the math. Everything looks great, except for one missing digit and a missed data dependency I had failed to recognize in the spec.
- Migrate reward actor state - Cleanup: math.Precision -> math.Precision128 - Cleanup: move ln from smoothing to math - Cleanup: move expneg from reward to math - Hook up reward actor with migrated power state - Move SimpleTotal, BaselineTotal on chain - Compute new baseline total in migration
b52ae20
to
4d53729
Compare
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.
All issues have been fixed, looks great to me now. Thank you @ZenGround0!
The PR is motivated by the cryptoecon effort to fix some outstanding reward logic issues introduced in the 94000 upgrade.