checkUpkeep Overriding function return types differ. #3405
-
i keep getting these errors , Overriding function return types differ. Contract "Raffle" should be marked as abstract.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@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. |
Beta Was this translation helpful? Give feedback.
-
I have the performUpKeep function in mine but I'm still having the same issue. |
Beta Was this translation helpful? Give feedback.
@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.