Lesson 7: ERROR processing skip func of /root/hh-fcc/hardhat-fund-me-fcc/deploy/test/MockV3Aggregator.sol: #473
-
When trying to deploy, I am receiving this error.
If I remove the top line in MockV3Aggregator.sol, then I just get the same error for the next line on the
Any help would be appreciated as I am struggling to find any reason for it and nothing I change seems to really affect it. Found my issue, so removed all the code blocks, but posting answer in case anyone else does this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
@DeionBooher What is your solidity version number? |
Beta Was this translation helpful? Give feedback.
-
SO, turns out I'm an idiot, but I am going to leave this here in case anyone else runs into same or similar issue. I accidently made the test folder in the deploy file, and put the .sol in there. This caused Hardhat to treat this as a deploy script and thus it didn't understand the script and threw an error. |
Beta Was this translation helpful? Give feedback.
-
lol I had the same issue, thanks for sharing |
Beta Was this translation helpful? Give feedback.
SO, turns out I'm an idiot, but I am going to leave this here in case anyone else runs into same or similar issue.
I accidently made the test folder in the deploy file, and put the .sol in there. This caused Hardhat to treat this as a deploy script and thus it didn't understand the script and threw an error.