PatrickAlphaC / hardhat-fund-me-fcc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JsonRpcProvider error

arkhidr opened this issue · comments

commented

FundMe
constructor
1) "before each" hook for "sets the aggregator addresses correctly"

0 passing (1s)
1 failing

  1. FundMe
    "before each" hook for "sets the aggregator addresses correctly":
    TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider')

Thats was the error thrown when testing the contract
i tried the following answer and worked for me, i submitted the link bellow for the reference.

https://ethereum.stackexchange.com/questions/144451/typeerror-cannot-read-properties-of-undefined-reading-jsonrpcprovider

Regards.