Lesson 9: The first deploy, getting error " Cannot read properties of undefined (reading 'parseEthers') " #5315
Unanswered
darshilmistry
asked this question in
Q&A
Replies: 3 comments
-
In your helper-hardhat.config.js change this : entryFee: ethers.util.parseEthers("0.3"), |
Beta Was this translation helpful? Give feedback.
0 replies
-
In ethers 6 you can use:
instead of
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The latest version of hardhat requires you to use :
instead of:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is the project repository :- https://github.com/darshilmistry/Lottery_FS.git
I have checked both of the deploy files but nothing came up. Also before this I removed all the yarn files and node_modules as i was getting some json rpc error.
The Errors are as follows:-
For
yarn hardhat deploy
:For
yarn hardhat deploy --tags mocks
Beta Was this translation helpful? Give feedback.
All reactions