Closed ezescigo closed 1 year ago
Oh, I just found this topic with the solution (installing hardhat-waffle or using .getContractAt()):
// fundMe = await ethers.getContract("FundMe")
const fundMeContract = await deployments.get("FundMe")
fundMe = await ethers.getContractAt(fundMeContract.abi, fundMeContract.address)
Hi guys! I'm having little trouble with this one, if someone could help me I'd appreciate it!!
I already installed hardhat-deploy-ethers as follows:
on my FundMe.test.ts
The error states:
Thank you!