Skip to content

Lesson 9: NomicLabsHardhatPluginError: The constructor for contracts/Lottery.sol:Lottery has 6 parameters but 1 arguments were provided instead. #5318

Answered by aman879
aman879 asked this question in Q&A
Discussion options

You must be logged in to vote

I was using bracket while passing args in verify.js

constructorArguments: [args]

correct:
constructorArguments: args

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aman879
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant