Skip to content

checkUpkeep Overriding function return types differ. #3405

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

You must be logged in to vote

@Ahmed14z You need to override all of the required methods otherwise it will give the error to make your contract abstract. I am seeing here that you do not have the performUpkeep function here, Patrick's letter in the lesson change the name of requestRamdonWinner to performUpkeep. You should follow the tutorial and it will be resolved.

Replies: 2 comments 3 replies

Comment options

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

Answer selected by Ahmed14z
Comment options

You must be logged in to vote
2 replies
@alymurtazamemon
Comment options

@solyakin
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