Lecture 9 test for fulfillRandomWords #640
Unanswered
SeungKyuRyoo
asked this question in
Q&A
Replies: 1 comment
-
maybe because we pretending like we are chainlink vrf so we can make our test since localhost cannot detect |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
im struggling on how fulfillRandomWords work in the test for Rottery.
The test code for fulfillRandomWords is
In the last line, fulfillRandomWords are called from vrfCoordinatorV2Mock inside the Promise.
How does implementations in the raffle.fulfillRandomWords are done when vrfCoordinatorV2Mock.fulfillRandomWords are called?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions