Closed mgroovyank closed 4 months ago
@wighawag I'm using execute function:
const receipt = await execute(
"CertificateSepolia",
{ from: deployer, gasLimit: 400000 },
"mint",
[receiverStudentAddress, ipfsTokenURI]
);
But get below error:
Error: expected 2 arguments for method "mint", got 1
I found the correct way by using execute function of deployments helper.
Describe the bug How can I add gas Limit to a transaction. I don't see any documentation regarding that.
Here is what my transaction looks like:
here is my transaction script:
I want to manually increase the gas limit.
versions "@nomicfoundation/hardhat-ethers": "^3.0.5", "hardhat": "^2.22.3", "hardhat-deploy": "^0.12.4", "hardhat-deploy-ethers": "^0.4.2"
Adding gas parameter to hardhat.config.js doesn;t work for me. Please help me, how can I set gas limit?