-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 Staking ValidatorPowerRank to use "Potential Consensus Power" #4524
Conversation
7a34022
to
4e3c261
Compare
Codecov Report
@@ Coverage Diff @@
## master #4524 +/- ##
==========================================
- Coverage 53.51% 53.48% -0.03%
==========================================
Files 256 257 +1
Lines 16165 16164 -1
==========================================
- Hits 8650 8645 -5
- Misses 6868 6873 +5
+ Partials 647 646 -1 |
int
consensusPowerBytes := make([]byte, 8) | ||
binary.BigEndian.PutUint64(consensusPowerBytes[:], uint64(consensusPower)) | ||
|
||
powerBytes := consensusPowerBytes |
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.
consolidated keys.go
with key.go
- but these previous 5 lines are the only code changes in this file
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. 1 minor change only
Co-Authored-By: Federico Kunze <[email protected]>
Co-Authored-By: Alessio Treglia <[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.
Two small nits, but otherwise LGTM.
Co-Authored-By: Alexander Bezobchuk <[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.
ACK
….com/cosmos/cosmos-sdk into rigel/3985-powerrank-use-tmint-power
replaces #4031
gaia ref: cosmos/gaia#41
closes #3985
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added a relevant changelog entry:
clog add [section] [stanza] [message]
rereviewed
Files changed
in the github PR explorerFor Admin Use: