Open nenadV91 opened 10 months ago
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