Skip to content

Lesson 9: getting error while testing the last it case #1866

Discussion options

You must be logged in to vote

Here is your error

raffle.once("winnerPicked", async () => {
                          try {
                              console.log(accounts[2])
                              console.log(accounts[0])
                              console.log(accounts[1])
                              console.log(accounts[3])
                              const recentWinner = await raffle.getRecentWinner()
                              console.log(recentWinner)
                              const raffleState = await raffle.getRaffleState()
                              const endingTimeStamp = await raffle.getLatestTimeStamp()
                              const numPlayers = await raffle.getNumberOfPlayers(

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

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