Option to default to block gas limit of connected network
See original GitHub issueOften users of Truffle have to trial and error the right gas
value in truffle.js. But shouldn’t there just be a default option to have gas be the current block gas limit of the network?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Setting Block Gas Limit in private blockchain?
In private network you can increase block gas limit by using gasLimit parameter in genesis file. "gasLimit": "0x8000000",.
Read more >What is Ethereum Transaction Gas Limit? - Blocknative
A transaction gas limit that is too low will result in a failed transaction and lost gas fees. This is because miners must...
Read more >Accounts, Transactions, Gas, and Block Gas Limits in Ethereum
Miners on the network decide what the block gas limit is. Separate from the adjustable protocol block gas limit is a default mining...
Read more >Reference | Ethereum development environment for ... - Hardhat
Default value: the same value as blockGasLimit . ... The block gas limit to use in Hardhat Network's blockchain. Default value: 30_000_000 ......
Read more >InvalidInputError: sender doesnt have enough funds to send tx ...
I mentioned another option in my answer. If the base fee per gas is low enough, then transactions won't cost that much and...
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
This has been released as part of v5. Thank you!
@JohnAllen Small update: automated fueling of deployments and method calls have been added to truffle-contract 95. Believe this should accomplish what you’re aiming for here. Unfortunately it won’t be available until the release that upgrades to
web3 1.0
comes out.Thanks for pushing for this.