Unable to setup hardhat free gas network #1645
Unanswered
gabrielmissio
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe I'm missing/misunderstanding something, however, even after reading the documentation at https://besu.hyperledger.org/private-networks/how-to/configure/free-gas#update-hardhatconfigjs, I still fail to configure a free gas hardhat network.
That's my current hardhat.config.js:
module.exports = { solidity: { version: '0.8.20', settings: { evmVersion: 'london', optimizer: { enabled: true, }, }, }, network: { hardhat: { gasPrice: 0, gas: '0x1ffffffffffffe' }, } }
Can anyone provide a working example of a hardhat.config.js file that results in a free gas network?
Beta Was this translation helpful? Give feedback.
All reactions