8000 Update InvalidRentPayingAccount variant and message by CriesofCarrots · Pull Request #23680 · solana-labs/solana · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Update InvalidRentPayingAccount variant and message #23680

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

CriesofCarrots
Copy link
Contributor
@CriesofCarrots CriesofCarrots commented Mar 15, 2022

Problem

InvalidRentPayingAccount error message is confusing because it still refers to accounts "with data", even though the implementation in #22292 prevents all rent-paying accounts.

Summary of Changes

Update InvalidRentPayingAccount error message
Also include relevant account index to make it more helpful (edit) actually, I removed this bit. Plumbing the account index into storage-protobuf types was a little annoying, and will make activation of require_rent_exempt_accounts dependent on this PR. Would rather not be adding another consensus-breaking change

Fixes #23670

@codecov
Copy link
codecov bot commented Mar 15, 2022

Codecov Report

Merging #23680 (6457633) into master (11be3fb) will decrease coverage by 0.0%.
The diff coverage is 70.5%.

@@            Coverage Diff            @@
##           master   #23680     +/-   ##
=========================================
- Coverage    81.7%    81.7%   -0.1%     
=========================================
  Files         580      580             
  Lines      158184   158252     +68     
=========================================
- Hits       129341   129335      -6     
- Misses      28843    28917     +74     

@CriesofCarrots CriesofCarrots merged commit 410463f into solana-labs:master Mar 16, 2022
mergify bot pushed a commit that referenced this pull request Mar 16, 2022
mergify bot added a commit that referenced this pull request Mar 16, 2022
(cherry picked from commit 410463f)

Co-authored-by: Tyera Eulberg <tyera@solana.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug report] system accounts (that have size 0) are sometimes required to be rent-exempt
2 participants
0