Closed egutierrez130 closed 1 year ago
UPDATE: I fixed the above, but now it is throwing a different error:
Error: ERROR processing /Users/edgargutierrez/hh-fcc/hardhat-smartcontract-lottery-fcc/deploy/01-deploy-raffle.js: ReferenceError: vrfCoordinatorV2Mock is not defined at Object.module.exports [as func] (/Users/edgargutierrez/hh-fcc/hardhat-smartcontract-lottery-fcc/deploy/01-deploy-raffle.js:15:9)
Awesome work!!
But, can you ask here: Can you:
Awesome work!!
But, can you ask here: Can you:
- Make this a discusson on the full repo? https://github.com/smartcontractkit/full-blockchain-solidity-course-js/
- Follow this section for formatting questions? https://www.youtube.com/watch?t=19846&v=gyMwXuJrbJQ&feature=youtu.be
Thanks @PatrickAlphaC I will definitely add the question into the full repo. Thanks for linking the video for formatting questions.
Hello, I am currently getting an error when trying to deploy during lesson 9. I am on hour 15:19:50.
This is the current error that I am getting
Nothing to compile Local network detected! Deploying mocks... An unexpected error occurred:
Error: ERROR processing /Users/edgargutierrez/hh-fcc/hardhat-smartcontract-lottery-fcc/deploy/00-deploy-mocks.js: Error: expected 2 constructor arguments, got 0
I have tried troubleshooting for a few hours now but have yet to find a solution. If possible, some help would be greatly appreciated. I will attach a link to my github repo, if that is the best way to view the code.
Edgars Smart Contract Lottery Repo
Thank you!
Also, I have already downgraded my ethers to version 5.7.2