smartcontractkit / full-blockchain-solidity-course-js

Learn Blockchain, Solidity, and Full Stack Web3 Development with Javascript
12.56k stars 3k forks source link

LESSON 9: Error: invalid contract address or ENS name [15:19:55] #691

Closed DorianDaSilva closed 2 years ago

DorianDaSilva commented 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

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?