LEC9-Error: No Contract deployed with name VRFCoordinatorV2Mock.sol #2610
-
01-deploy-raffle.js
00-deploy-mocks.js
VRFCoordinatorV2Mock.sol
ERROR
|
Beta Was this translation helpful? Give feedback.
Answered by
RoboCrypter
Sep 15, 2022
Replies: 2 comments 10 replies
-
@ippy1997 : Change the following line of code in your From this : To this :
Let me know, If it resolves your issue! |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
ippy1997
-
Push to GitHub please |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ippy1997 : Change the following line of code in your
01-deploy-raffle.js
file :From this :
const VRFCoordinatorV2Mock = await ethers.getContract("VRFCoordinatorV2Mock.sol")
To this :
const VRFCoordinatorV2Mock = await ethers.getContract("VRFCoordinatorV2Mock")
getContract
should be VRFCoordinatorV2MockLet me know, If it resolves your issue!