Skip to content

TypeError: Cannot read properties of undefined (reading 'checkUpkeep') #1415

Answered by Muhammad-Abdullah012
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Make sure you're correctly initializing raffle.
Show that code as well.

raffle = await ethers.getContract("Raffle", deployer);

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@ghost
Comment options

@Muhammad-Abdullah012
Comment options

@ghost
Comment options

Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
3 replies
@NickoMenty
Comment options

@PhucDao-PLab
Comment options

@AyodejiKomolafe
Comment options

Comment options

You must be logged in to vote
2 replies
@Sanskar-khandelwal
Comment options

@siddharth-chauhan-it
Comment options

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