Closed br0wnD3v closed 1 year ago
I made a new release with latest hardhat-ethers support : v0.4.1
it is now an extension to hardhat-ethers
because of lack of support for loading external artfiact in hardhat it remove support for it. You can still load them manually though
Let me know if this does not fix your issue
After the recent update to ethers to v6.x some functions like
getContractAt()
throws an error ->My current code looks like this ->
The hardhat.config file is like
Now, when I degraded the version back to something like
ethers@5.4.7
the above function doesn't generate any error and works as intended.Might be an ethers issue in the first place. Thank you.