-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Rent should only be collected per block (not per transaction) #10088
Comments
The end-of-block rent only collects for a subset of account keys, so you could rotate your key in a way to avoid the rent. Thus both mechanisms are needed. |
@sakridge I just updated the description to say "Collect rent from newly created accounts". Does that address your comment? EDIT: Updated the description again for clarity |
It's a separate mechanism from eager rent collection |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale issue has been automatically closed. Thank you for your contributions. |
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs. |
Problem
Rent is a protocol thing that happens to accounts outside of transactions but currently is closely tied to account creation transactions. This is an issue for a few reasons:
postBalance
field in stored transaction status metadata and this effect is not currently transparent to clients (see: https://github.com/solana-labs/explorer/issues/118)Proposed Solution
Instead of collecting rent during each transaction which creates accounts, wait to collect rent from newly created accounts until the end of a block.
The text was updated successfully, but these errors were encountered: