Skip to content

error Lesson 9 Raffle Contract #3451

Answered by pacelliv
kantoash asked this question in Q&A
Oct 23, 2022 · 2 comments · 20 replies
Discussion options

You must be logged in to vote

A. You have a typo in the name of this variable:

const startingTimeStampe = await raffle.getLastTimeStamp();

It should be startingTimeStamp

B. In hardhat.config.js file make the mocha section look like this:

mocha: {
    timeout: 500000,
  },

Using setTimeout like you currently have it is not giving enough time for the Promise to be resolved.

Replies: 2 comments 20 replies

Comment options

You must be logged in to vote
20 replies
@kantoash
Comment options

@pacelliv
Comment options

@pacelliv
Comment options

@kantoash
Comment options

@pacelliv
Comment options

Answer selected by kantoash
Comment options

You must be logged in to vote
0 replies
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