wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.19k stars 292 forks source link

Add "gaslimit" option to CLI (just like existing "gasprice") #392

Open nacknime-official opened 1 year ago

nacknime-official commented 1 year ago

Is your feature request related to a problem? Please describe. Case: I have an "OpenZeppelin Transparent Proxy" contract with upgradeAndCall method. Sometimes the upgrading is failing due to low estimated gas limit.

Describe the solution you'd like I want to control it from CLI options.

Describe alternatives you've considered To hardcode it to a deploy script, but it's inconvenient way I think because sometimes it's needed, sometimes not.

wighawag commented 1 year ago

hmm, if it is in the cli, this would have to apply to every tx made during the execution of that script, would that not be weird ?

mgroovyank commented 4 months ago

@wighawag How can I change gas Limit for a transaction that I'm trying to make with my contract? My transaction is failing with Out of gas error. I want to increase gas limit. Unable to find any documentation for that?