Lesson 7:Error: No Contract deployed with name mockV3Aggregator #4587
-
this is my code describe("FundMe", async function () {
}); This is the error (node:25612) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time FundMe
0 passing (1s)
error Command failed with exit code 1. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @umairahmed88 , I think you forgot to put the capital M at the start of MockV3Aggregator. Cheers 😄 |
Beta Was this translation helpful? Give feedback.
-
@umairahmed88 Check the above spelling mistake, else leave the repo link so I can tell you exact location of error. |
Beta Was this translation helpful? Give feedback.
Hi @umairahmed88 ,
I think you forgot to put the capital M at the start of MockV3Aggregator.
Try this instead :
mockV3Aggregator = await ethers.getContract("MockV3Aggregator", deployer)
Cheers 😄