Skip to content

Lesson 9: ReferenceError: args is not defined (Staging Test) #5398

Closed Answered by alymurtazamemon
Jatinkkalra asked this question in Q&A
Discussion options

You must be logged in to vote

@Jatinkkalra Here await verify(lottery.address, args); in the 01-deploy-lottery.js file you have mentioned the args variable but it is not defined anywhere.

You have to give the same arguments which you passed the deploy functions, and I think you forgot to store the list in the args variable to access it at both locations.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jatinkkalra
Comment options

Answer selected by Jatinkkalra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants