PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 182 forks source link

Question - what calls the fulfillRandomWords function in our contract? #159

Closed Ahmedborwin closed 1 year ago

Ahmedborwin commented 1 year ago

Hi,

Embarrassed to be asking this question, but, I can't figure out how our fulfillRandomWords function is called once our performupkeep function is successfully completed. IS is something to do with our vrfcoordinator.requestRandomWords function call?

Any help is much appreciated :)

PatrickAlphaC commented 1 year ago

Questions are how we learn! No need to be embarrassed.

Could you do me a favor though.

Can you:

  1. Make this a discusson on the full repo? https://github.com/smartcontractkit/full-blockchain-solidity-course-js/
  2. Follow this section for formatting questions? https://www.youtube.com/watch?t=19846&v=gyMwXuJrbJQ&feature=youtu.be