You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to deploy our HelloWorld contract using npx hardhat run scripts/deploy.js --network sepolia, the script throws the following error:
Deploying Contract...
TypeError: Cannot read properties of undefined (reading 'hash')
at main (/home/dev-araujo/Documents/github/blockchain-projects/meta-school/Hello-World/scripts/deploy.js:22:47)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Where
Writing your first Hello World contract in Solidity/3. Preparing for Deployment/2. Writing Deployment Script.md
Problem:
When attempting to deploy our
HelloWorld
contract usingnpx hardhat run scripts/deploy.js --network sepolia
, the script throws the following error:Solution
I open a PR here
The text was updated successfully, but these errors were encountered: