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

Gas estimation RPC methods should take in account the sender balance #8146

Open
fab-10 opened this issue Jan 21, 2025 · 0 comments
Open

Gas estimation RPC methods should take in account the sender balance #8146

fab-10 opened this issue Jan 21, 2025 · 0 comments
Labels
P3 Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion) RPC

Comments

@fab-10
Copy link
Contributor

fab-10 commented Jan 21, 2025

Description

As an RPC client, I want that gas estimation methods take in account the sender balance to determine the max gas limit of the tx so that I can have better gas estimations.

When estimating the gas used by a tx, a first hard limit is the block gas limit, but there are cases when the limit could be lower, since the sender has a limited balance, so a specific max gas limit could be computed, taking in account, if present, the value of the transfer and/or the
spending for the blobs.

@fab-10 fab-10 added RPC P3 Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion) labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion) RPC
Projects
None yet
Development

No branches or pull requests

1 participant