Replies: 2 comments
-
i meet the same problem, did you resolve it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @eik-1 Instead of below: fundMe = await deployments.get("FundMe", deployer)
MockV3Aggregator = await deployments.get("MockV3Aggregator", deployer) try using this: fundMe = await ethers.getContract("FundMe", deployer)
mockV3Aggregator = await ethers.getContract("MockV3Aggregator", deployer) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think there is a problem with hardhat-deploy functions.
This error that keeps on showing when I use
yarn hardhat test
Below is my FundMe.test.js
Below is my deploymocks.js
Below is my fundme.js
My deployments folder has 2 subfolders: localhost and sepolia. I changed the name from localhost to hardhat because it was giving me errors for verifying otherwise.
Beta Was this translation helpful? Give feedback.
All reactions