-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
R4R: Distr-PR-1 Staking ConsPubKey -> ConsAddr index #2369
Conversation
I tried to keep the refactors to a minimum in this PR but there are some basic ones which I just left in (copied from fee-distribution PR) |
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.
utACK
I agree with all of the refactors done here, I think they really cleanup the code. (Especially migrating more of the code to use address instead of pubkey, I think thats been needed for awhile now) Thanks Rigel!
Codecov Report
@@ Coverage Diff @@
## develop #2369 +/- ##
===========================================
+ Coverage 61.94% 64.78% +2.84%
===========================================
Files 132 135 +3
Lines 8245 8442 +197
===========================================
+ Hits 5107 5469 +362
+ Misses 2811 2602 -209
- Partials 327 371 +44 |
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 great, I think we can simplify just a bit further.
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.
LGTM -- Agree with @cwgoes comment and your suggestion in creating a helper function to get rid of ValidatorByConsPubKey
.
splitting up the distribution PRs cause there's a lot.
closes #2244
ref #2369
Note this PR also deletes old distribution (commented-out) code
docs/
)PENDING.md
with issue #Files changed
in the github PR explorerFor Admin Use: