-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 is opaque to clients #7413
Comments
Along these lines, confusion can easily arise when you run a command like this:
What? The transfer succeeded but since the amount sent is below the minimum rent, foo_pubkey was rent collected and immediately returns to zero balance |
Rent info should be added to |
Came across a few more confusing points about rent collection from a client's perspective.. Rent delinquent account: An account with a non-zero balance (so hasn't been deleted from storage) but does not have sufficient funds to pay the rent due in the current epoch.
For #1 and #3 it seems like archivers would be incentivized to clear out rent delinquent accounts. For #2 I think we should collect rent on instruction failures. Does it warrant a new issue? |
Also, it would be great if we made it easier for clients to calculate short-term rent! |
@jstarry Thanks for writing up a issue for rent! All of problems are because of lazy rent collection. Fortunately, we'll go away from lazy one to eager rent collection because of these various UX problems and performance problems! #9527 Recently, I've been caring rents a lot. :) CC: @sakridge |
Great, thanks for sharing @ryoqun! Eager rent collection removes the existence of "rent delinquent accounts" entirely which sounds great! |
@ryoqun after reading about eager rent collection, I think we will still have rent delinquent accounts. This is because rent is collected over the course of the epoch. So rent delinquent accounts can exist for at least a full epoch (minus one slot). Is that right? Anyways, it's a much less severe problem! But still something I think we need to consider. |
@jstarry Yeah, that's still the case. Basically, the main purpose of eager rent collection is to protect the cluster. Sorry, but ux/dx was second citizen. ;) Also, I've re-read your comment.. :)
Yeah, I think so too. :) A kind-of DX/UX bug. Afaic, not critical.
Well, I didn't know this. Is this really true? I think this is a bug. For concurrent execution thing of programs, I think we ended up like this. But I think this is still a kind of dx/ux bug. Afaic, not critical.
Out of curiosity, how archivers are incentivized in your thinking? I thought archivers only cares for transactions, oh rent reward? In that case, validators are too. But these ill-designed incentives are gone with eager rent collection. |
@ryoqun thanks for your response! I realized my definition of "rent delinquent" accounts is actually not valid if we remove lazy rent collection and only use eager rent collection. Anyways, agreed that both ux "bugs" are not critical 👍
Yes, rent rewards was my thinking. Agreed that those incentives are gone now 👍 |
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
information about expected rent payments is unavailable to clients without a fair amount of work
Proposed Solution
add a
show-rent
command to the clisee #7410 for an example of useful "show-rent" type information
The text was updated successfully, but these errors were encountered: