Skip to content

Lesson 9 Function has override specified but does not override anything. #3496

Answered by pacelliv
NeoRusi asked this question in Q&A
Discussion options

You must be logged in to vote

You imported KeepersCompatibleInterface but forgot to inherit it to your contract

Change:

contract Raffle is VRFConsumerBaseV2 {

To:

contract Raffle is VRFConsumerBaseV2, KeeperCompatibleInterface {

Let me know if this solve your problem.

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@NeoRusi
Comment options

@NeoRusi
Comment options

@pacelliv
Comment options

@pacelliv
Comment options

Answer selected by NeoRusi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@NeoRusi
Comment options

@pacelliv
Comment options

@krakxn
Comment options

@alymurtazamemon
Comment options

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
5 participants