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

Fix stake split rent-exempt adjustment (bp #13357)#13452

Merged
mergify[bot] merged 1 commit intov1.3from
mergify/bp/v1.3/pr-13357
Nov 6, 2020
Merged

Fix stake split rent-exempt adjustment (bp #13357)#13452
mergify[bot] merged 1 commit intov1.3from
mergify/bp/v1.3/pr-13357

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Nov 6, 2020

This is an automated backport of pull request #13357 done by Mergify

Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

* Add failing tests

* Fix stake split

* Calculate split rent-exempt-reserve and use

* Add comment in rent.rs

* Add tests for edge cases when splitting to larger accounts, and reject overflow splits

* Reframe InsufficientFunds checks in terms of lamports var

* Test hardening review comments

(cherry picked from commit 4c5f345)
@mergify mergify Bot added the automerge Merge this Pull Request automatically once CI passes label Nov 6, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 6, 2020

Codecov Report

Merging #13452 (63aec58) into v1.3 (0a05bbc) will increase coverage by 0.0%.
The diff coverage is 99.6%.

@@           Coverage Diff           @@
##            v1.3   #13452    +/-   ##
=======================================
  Coverage   82.3%    82.4%            
=======================================
  Files        368      368            
  Lines      87076    87385   +309     
=======================================
+ Hits       71727    72032   +305     
- Misses     15349    15353     +4     

@mergify mergify Bot merged commit 20678cf into v1.3 Nov 6, 2020
@mergify mergify Bot deleted the mergify/bp/v1.3/pr-13357 branch November 6, 2020 21:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant