Gas limit is ignored.
See original GitHub issueIn the run tab of remix I am prompted to set the gas limit for my transactions. However, setting it doesn’t appear to actually work and instead estimated gas is used. This is problematic when gas estimation doesn’t work. For example, I have a transaction that has variable gas costs based on when it is mined, so I need to explicitly specify gas and not use estimates.
Gas limit setting:
Actual gas provided:
This is when using Web3 Provider
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Gas limit is ignored. · Issue #147 · ethereum/remix-project
In the run tab of remix I am prompted to set the gas limit for my transactions. However, setting it doesn't appear to...
Read more >Gas Limit | Bybit Learn
Therefore, if the gas limit is set too low, then the transaction may be ignored by Ethereum miners and take a long time...
Read more >Shh! Don't Share This Ethereum Gas Price Secret - Paxful
At the same time, validators can ignore your transaction if you set the gas limit too low. This is why are gas fees...
Read more >What are ETH Gas Fees? - Intro for Traders & Builders
Gas limit: The maximum amount someone is willing to pay for a transaction to complete. Gwei: A fractional unit of ETH — 1.0...
Read more >What is the purpose of gasLimit in an EIP1559 transaction?
The purpose of gas limit is to specify the maximum amount of gas you are willing to consume in a transaction.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, this is confusing. Could the gas limit specified there be used when making transactions?
I see there is a gas estimation request done before and the result from there is used. Sometimes that is incorrect and even if we set a really high gas limit the transaction fails.
Does anybody know how to specify a fixed number of gas in an
address(addr).call
when debug in remix?