-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Fail early to consume gas if a user doesn't have enough balance #10908
Comments
i'm a bit confused tbh, because my understanding of your proposal is what we currently do.
|
However, I do agree that if the user does not have enough balance to pay for fees, we should still charge the user something. |
I fail to see how this is a problem really? This check happens during I would suggest restructuring the issue. The proposal doesn't like up with what you claim to be the issue. |
The issue is not related to |
Maybe, during this task, we should consider implementing "not used feed" (fee we paid for not used gas) return? |
@robert-zaremba this might interest you: #2150 |
is this still relevant @alexanderbez ? with application based mempools i feel like most of this is solved, except the fee returning if overpaying. |
yeah I still don't quite follow the exact proposal. The main thing I get out of this is that we should perhaps charge a user something in the case where the don't have a sufficient balance to pay fees. |
Summary of Bug
This is the highlevel overview of how the fee processing works today in
DeliverTx
:Proposal:
Refactore Gas framework to:
Nice to have: #2150
Moreover:
Ref:
For Admin Use
The text was updated successfully, but these errors were encountered: