PatrickAlphaC / hardhat-fund-me-fcc

82 stars 184 forks source link

JsonRpcProvider error #153

Closed arkhidr closed 1 year ago

arkhidr commented 1 year ago

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.

PatrickAlphaC commented 1 year ago

Can you:

  1. Make this a discusson on the full repo? https://github.com/smartcontractkit/full-blockchain-solidity-course-js/
  2. Follow this section for formatting questions? https://www.youtube.com/watch?t=19846&v=gyMwXuJrbJQ&feature=youtu.be