Lesson 7 - 11:18:00 - problem with ethers.getContract() #1656
Replies: 3 comments 22 replies
-
There's probably a problem with your try running |
Beta Was this translation helpful? Give feedback.
-
The following should fix it: -mockV3Aggregator = await ethers.getContract(
+mockV3Aggregator = await ethers.getContractAt( |
Beta Was this translation helpful? Give feedback.
-
How about using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When i run - yarn hardhat test - I get the following error
Here is the FundMe.test.js code
It seems like this function does not exist, I tried using the function getContractAt, but get the same error
Beta Was this translation helpful? Give feedback.
All reactions