Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Clean up Delegation::stake_activating_and_deactivating#13471

Merged
ryoqun merged 1 commit intosolana-labs:masterfrom
ryoqun:cleanup-stake-activating-and-deactivating
Nov 9, 2020
Merged

Clean up Delegation::stake_activating_and_deactivating#13471
ryoqun merged 1 commit intosolana-labs:masterfrom
ryoqun:cleanup-stake-activating-and-deactivating

Conversation

@ryoqun
Copy link
Copy Markdown
Contributor

@ryoqun ryoqun commented Nov 8, 2020

Problem

stake_activating_and_deactivating is a bit hard to read.

Summary of Changes

Make it more readable. As I said before, this is also blocking pr for stake calculation bug (I'm now writing a pr).

There should be no functional change.

This is a follow-up to: #13460

@ryoqun ryoqun requested a review from mvines November 8, 2020 15:57
@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Nov 8, 2020

@mvines Could you review this as well? This is very similar to #13460, so should be easy to review hopefully. :)

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 8, 2020

Codecov Report

Merging #13471 (222e663) into master (737d3e3) will decrease coverage by 0.0%.
The diff coverage is 88.8%.

@@            Coverage Diff            @@
##           master   #13471     +/-   ##
=========================================
- Coverage    82.1%    82.1%   -0.1%     
=========================================
  Files         378      378             
  Lines       90402    90411      +9     
=========================================
- Hits        74244    74239      -5     
- Misses      16158    16172     +14     

@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Nov 9, 2020

odd

Travis CI - Pull Request Expected — Waiting for status to be reported

Well, I'll merge this pr anyway, the buildkite says ok to do so. :) FYI: @mvines

@ryoqun ryoqun merged commit 5306eb9 into solana-labs:master Nov 9, 2020
mergify Bot pushed a commit that referenced this pull request Nov 9, 2020
mergify Bot pushed a commit that referenced this pull request Nov 9, 2020
mergify Bot added a commit that referenced this pull request Nov 9, 2020
(cherry picked from commit 5306eb9)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
mergify Bot added a commit that referenced this pull request Nov 9, 2020
(cherry picked from commit 5306eb9)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants