Replies: 2 comments 3 replies
-
Hello @raf-1404 Your code looks good, I think there might be issue with your ganache setup. Make sure you are using correct private key from ganache, then check if you server settings looks like below: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey, I am facing the same error. i managed to find the solution to the first error //Error: cannot estimate gas; transaction may fail or may require manual gas limit
const deployOptions = {gasLimit: 2000000};
const contract = await contractFactory.deploy(deployOptions); But I'm still stuck at the second one. It has something to do with the ether.js or solc versions but i was not able pinpoint it. I will be really grateful if someone can help with it because it's really slowing down my pace.
|
Beta Was this translation helpful? Give feedback.
3 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
At 7:07:46 While deploying the contract on ganache using command
node deploy.js
deploy.js file in the repo
https://github.com/raf-1404/sol-fcc
I get the below error
What could be the reason ?
Beta Was this translation helpful? Give feedback.
All reactions