Skip to content

how can he be sure of the random index??? #4642

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

You must be logged in to vote

Hi @h0leee

Actually there's no assumption -- the VRFCoordinatorV2Mock it's just a contract to replicate/mock a few functions from the real contract. In our local blockchain there's no randomness the first account to enter the raffle will be the winner.

Replies: 1 comment 2 replies

Comment options

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

@pacelliv
Comment options

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