Gas Limit not getting increased #6636
-
I'm trying to make a transaction on my contract deployed here: But it is getting reverted with out of gas error. Even after increase gas parameter value from 200000 to 500000, I see the gas limit for the transaction to be the same as 296,658 . Please help me out here. I've added my hardhat.config.js as well below.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I had to use await execute() function provided by hardhat-deploy plugin's deployments helper. That helped to override gas limit while making the transaction. |
Beta Was this translation helpful? Give feedback.
I had to use await execute() function provided by hardhat-deploy plugin's deployments helper. That helped to override gas limit while making the transaction.