Skip to content

Lesson 9: My fullfillRandomWords() function does not get called automatically after deploying on testnet #1726

Discussion options

You must be logged in to vote

@EngrPips I finally got it to work. turns out you need to have more than enough LINK for the performUpkeep to go ahead and call fulfillRandomwords(). I was able to see this after completing the code using the the VRFCoordinator version 2.5. the user interface on their website hints at needing to add more link so i did and the contract picked a winner successfully.

Even though it didn't spend a lot but i guess i needed to have the max link fee of about 36LINK.

After this ran successfully, I went back to the original raffle where the VRFV2 was used and i added more link to the subscription. I had two performUpkeep that was pending for over 18hours. both were successful immediately i added t…

Replies: 2 comments 11 replies

Comment options

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

Comment options

You must be logged in to vote
10 replies
@EngrPips
Comment options

@AyodejiKomolafe
Comment options

@EngrPips
Comment options

@AyodejiKomolafe
Comment options

Answer selected by AyodejiKomolafe
@EngrPips
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
2 participants