Skip to content

Lesson 7:Error: No Contract deployed with name mockV3Aggregator #4587

Answered by Koowah
umairahmed88 asked this question in Q&A
Discussion options

You must be logged in to vote

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 😄

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@umairahmed88
Comment options

Answer selected by umairahmed88
Comment options

You must be logged in to vote
1 reply
@umairahmed88
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants