Lesson 9: Unable to deploy. Multiple warnings regarding VRFCoordinatorV2Mock.sol #5369
-
For some reason it has been impossible to deploy my Raffle.sol contract and also the VRFCoordinatorV2Mock.sol contract. I tried lowering the ethers version plus a bunch of other things that I read in the discussions. I even restarted a hardhat project from scratch in case the problem was some dependencies or node modules. This is my repository in case someone can shed some light on what is wrong. https://github.com/rubnx/hardhat-lottery-fcc.git
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@rubnx Your deploy scripts should be inside the |
Beta Was this translation helpful? Give feedback.
@rubnx Your deploy scripts should be inside the
deploy
folder not in thescripts
folder. We usehardhat-deploy
plugin to deploy the contract and it only recognises the deploy scripts if they are inside the deploy folder.