Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deploy script for ethers v6 compatibility #805

Open
dev-araujo opened this issue Jan 20, 2025 · 0 comments
Open

Fix deploy script for ethers v6 compatibility #805

dev-araujo opened this issue Jan 20, 2025 · 0 comments

Comments

@dev-araujo
Copy link

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 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)

Solution

I open a PR here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant