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)#13453

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

Fix stake split rent-exempt adjustment (bp #13357)#13453
mergify[bot] merged 1 commit intov1.4from
mergify/bp/v1.4/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 #13453 (fdd11bc) into v1.4 (747e91d) will increase coverage by 0.0%.
The diff coverage is 99.6%.

@@           Coverage Diff           @@
##            v1.4   #13453    +/-   ##
=======================================
  Coverage   82.1%    82.2%            
=======================================
  Files        378      378            
  Lines      89586    89895   +309     
=======================================
+ Hits       73598    73906   +308     
- Misses     15988    15989     +1     

@mergify mergify Bot merged commit 049ca18 into v1.4 Nov 6, 2020
@mergify mergify Bot deleted the mergify/bp/v1.4/pr-13357 branch November 6, 2020 22:06
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