Replies: 2 comments
-
You can try giving the ganache Gas limit as a parameter in this line const contract = await contractFactory.deploy({ gasLimit: 6721975 }); |
Beta Was this translation helpful? Give feedback.
-
Hi Zafiqul, Been 2months you asked this question, so i'm assuming you figured it out already but I'm replying for other users seeking a solution. Just like @PatrickAlphaC used in his course, the 0.8.7 solidity version and 0.8.7-fixed solc version would be the solution to this problem. Install this version of solc and update the solidity version to 0.8.7. Apparently, fixed versions of solc doesn't generate this error. I have no idea why but that's the situation currently. You could also try version 0.8.14-fixed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried Existing suggestion still show the same Error
deploy.js file
PRIVATE_KEY=0xe48dc90d8c8a6effaa31cce659c84ca0c59ca46c2142d68eda4efdabe81cfe1e
RPC_URL=http://127.0.0.1:7545
package.json
Beta Was this translation helpful? Give feedback.
All reactions