Foundry fundamentals : Issue in deploying lottery smart contract. #3116
-
Got this error while writing deployment script tried to debug but can't find anything, help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hello @Rayyan-Uddin, Please show your |
Beta Was this translation helpful? Give feedback.
-
Hello @Rayyan-Uddin, So the issue here is you are wrongly passing the arguments to the |
Beta Was this translation helpful? Give feedback.
Hello @Rayyan-Uddin, So the issue here is you are wrongly passing the arguments to the
Raffle
contract constructor. subscriptionId comes as the fifth argument in theRaffle
contract constructor, but you are passing it as the sixth. Please pass the constructor argument in the correct order so things work correctly.