Add test to check destination for stake splitting#23303
Add test to check destination for stake splitting#23303brooksprumo merged 5 commits intosolana-labs:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #23303 +/- ##
=========================================
- Coverage 81.3% 81.3% -0.1%
=========================================
Files 571 571
Lines 155738 155793 +55
=========================================
- Hits 126746 126725 -21
- Misses 28992 29068 +76 |
454ebb3 to
d0283b5
Compare
d0283b5 to
495c70c
Compare
CriesofCarrots
left a comment
There was a problem hiding this comment.
Agree with Jon's comments; otherwise lgtm
Pull request has been modified.
CriesofCarrots
left a comment
There was a problem hiding this comment.
Sorry, one last tedious nit from me... can you spell out "dest" everywhere, please?
Then, r+!
Pull request has been modified.
|
Thanks for the help, @joncinque @CriesofCarrots! These tests picked up an issue with my other PR where my refactor (previously) allowed splits with an amount of 0 lamports (which is not the current behavior). I appreciate your attention to detail 🙏 |
Problem
There was missing test coverage checking the destination account balance when splitting stake accounts.
Summary of Changes
Add the test 😊