Replies: 3 comments 7 replies
-
Hi @anooj1 , It is normal you get this error. You should use Also, when working in Goerli network, you won't be using mocks anymore. You'll be using the actual VRFCoordinatorV2 deployed by chainlink. So go to their docs to find the address and use it to get the contract. Hope that helps, |
Beta Was this translation helpful? Give feedback.
-
@anooj1 Did you install chainlink contracts v4 in vscode? |
Beta Was this translation helpful? Give feedback.
-
I was facing the same problem. Use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
when I test my tests on GOERLI network, it shows an Error that reads: ** 1) Raffle Unit Tests
"before each" hook for "works with live Chainlink Keepers and Chainlink VRF, we get a random winner":
Error: No Contract deployed with name VRFCoordinatorV2Mock
at Object.getContract (node_modules/@nomiclabs/hardhat-ethers/src/internal/helpers.ts:447:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Context. (test/staging/Raffle.staging.test.js:15:38)
Can anyone help me out with these, here's the link to my repo: https://github.com/anooj1/hardhat-raffle
Beta Was this translation helpful? Give feedback.
All reactions