Lesson 7: Can't verify contract on etherscan and staging test fails somehow. #2890
-
Actually done with lesson 7, except have a couple of issues here. Just not sure whether to just move on or if i will get tripped up halfway through lesson 8 because of these. I have posted these issues in my repo. Here's a link to my repo - https://github.com/SimSimButDifferent/hardhat-fundme-fcc Error messages below. Any help comes very much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @SimSimButDifferent use
Lastly, add this piece of code in your
I've made a pull request for all these changes. Please look into it. |
Beta Was this translation helpful? Give feedback.
Hey @SimSimButDifferent use
deployments
instead ofdeployment
on line 11 on your01-deploy-fund-me.js
and line 8 of your00-deploy-mocks.js
. That should take care of the first error.Additionally, you should also make this change on line 34 of your
01-deploy-fund-me.js
Lastly, add this piece of code in your
fundMe.test.js
file so that you can only run it locally.I've made a pull request for all these changes. Please look into it.