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

Uses RENT_EXEMPT_RENT_EPOCH to mark account as rent exempt #34090

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

brooksprumo
Copy link
Contributor

Problem

While reviewing #33945, I noticed that when we set a new account's rent epoch to be rent exempt, we aren't using the RENT_EXEMPT_RENT_EPOCH constant. This isn't a correctness problem, but I did initially miss this usage in my search because I was grepping for the constant. Maybe this has happened to others as well.

Summary of Changes

Use the constant instead.

@brooksprumo brooksprumo self-assigned this Nov 15, 2023
@brooksprumo brooksprumo marked this pull request as ready for review November 15, 2023 17:32
@brooksprumo brooksprumo added the automerge Merge this Pull Request automatically once CI passes label Nov 15, 2023
Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #34090 (614bf1f) into master (f005075) will increase coverage by 0.0%.
Report is 5 commits behind head on master.
The diff coverage is 100.0%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34090   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         812      812           
  Lines      219737   219737           
=======================================
+ Hits       180028   180063   +35     
+ Misses      39709    39674   -35     

@mergify mergify bot merged commit 67dab71 into solana-labs:master Nov 15, 2023
33 checks passed
@brooksprumo brooksprumo deleted the rent-epoch/max branch November 15, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants