Closed DorianDaSilva closed 2 years ago
Error: ERROR processing /home/hh-fcc/hardhat-smartcontract-lottery-fcc/deploy/01-deploy-raffle.js: Error: invalid contract address or ENS name (argument="addressOrName", value=undefined, code=INVALID_ARGUMENT, version=contracts/5.6.2)
======================================================================================
Terminal is returning the above error after deploying mocks when running hh deploy or yarn hardhat deploy
hh deploy
yarn hardhat deploy
I was unable to find a solution online & my 01-deploy-raffle.js seems identical from the one in the course.
Does anyone have a suggestion on how to fix this bug, plz?
======================================================================================
Terminal is returning the above error after deploying mocks when running
hh deploy
oryarn hardhat deploy
I was unable to find a solution online & my 01-deploy-raffle.js seems identical from the one in the course.
Does anyone have a suggestion on how to fix this bug, plz?