-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix validator power decrease bug #1566
Conversation
cwgoes
commented
Jul 6, 2018
•
edited
Loading
edited
- Updated all relevant documentation in docs
- Updated all code comments where relevant
- Wrote tests
- Updated CHANGELOG.md
- Updated Gaia/Examples
- Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)
- Added appropriate labels to PR (ex. wip, ready-for-review, docs)
Are no updates sent back to Tendermint at all in this circumstance? i.e. does it create a change but just not the correct one? |
No updates are sent back - as demonstrated in the testcase, and just reading through the logic in |
Codecov Report
@@ Coverage Diff @@
## develop #1566 +/- ##
===========================================
+ Coverage 64.07% 64.09% +0.02%
===========================================
Files 122 122
Lines 6666 6670 +4
===========================================
+ Hits 4271 4275 +4
Misses 2148 2148
Partials 247 247 |
Ready for review. I think we should try to simplify the maze of conditionals in |
Totally agree that this is a great place for case statements to make more clear - opened an issue #1584 |
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.
Simple enough changes! Thanks!