Skip to content
Discussion options

You must be logged in to vote

Just noticed, you're not awaiting the checkUpkeep function, to return value hence it remains undefined.
Update the code to this - const { upkeepNeeded } = await raffle.checkUpkeep.staticCall(new Uint8Array());

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rittdhar12
Comment options

@rittdhar12
Comment options

@Codensity30
Comment options

Answer selected by rittdhar12
@rittdhar12
Comment options

@orishameedah
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
3 participants