Lesson 07 (Error) #5711
Unanswered
BurhanSiddiqui99
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Hello @BurhanSiddiqui99 Error already is telling you whats wrong. While you are deploying your contract for tests you provided it 1 argument while expected arguments are 0. Fix your contract or deploy script.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@BurhanSiddiqui99 |
Beta Was this translation helpful? Give feedback.
7 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.
-
when i write the code of test/unit/FundMe.test.js
it will give me this error
FundMe
constructor
0 passing (260ms)
1 failing
"before each" hook for "sets the aggregator addresses correctly":
ERROR processing E:\setup\Courses\Solidity Projects\HardhatFundMe\deploy\01-deploy-fund-me.js:
Error: expected 0 constructor arguments, got 1
Beta Was this translation helpful? Give feedback.
All reactions