You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, readPrice.js is broken. Latest version of hardhat does not provide a getContract function, it was replaced with getContractAt, but this one requires the contract address.
I guess that this script was was replaced by the read-price-feed task. The task requires an explicit contract address argument, it is not trying to read it from the deployment.
On fresh clone when run
hh run ./scripts/readPrice.js
i getTypeError: ethers.getContract is not a function
My dependencies
The text was updated successfully, but these errors were encountered: