Skip to content
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

refactor rent_due for normal case of exempt #23350

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Feb 25, 2022

Problem

Avoid amount computation if account is known to be exempt.

Summary of Changes

Fixes #

sdk/program/src/rent.rs Outdated Show resolved Hide resolved
runtime/src/rent_collector.rs Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Feb 25, 2022

Codecov Report

Merging #23350 (ed17896) into master (533eca3) will increase coverage by 0.0%.
The diff coverage is 93.3%.

❗ Current head ed17896 differs from pull request most recent head 75e4f4c. Consider uploading reports for the commit 75e4f4c to get more accurate results

@@           Coverage Diff           @@
##           master   #23350   +/-   ##
=======================================
  Coverage    81.3%    81.4%           
=======================================
  Files         572      572           
  Lines      155874   155879    +5     
=======================================
+ Hits       126823   126898   +75     
+ Misses      29051    28981   -70     

Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jeffwashington jeffwashington merged commit 611d745 into solana-labs:master Feb 28, 2022
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants