[FEAT] Locally Testing VRF Direct Funding Method
Description I have implemented the vrf v2 direct funding method, following the documentation: VRF V2 Direct Funding I tested on Remix and everything is working properly. However, I couldn't test locally with Ganache because I couldn't find a mock for the VRFV2Wrapper.
Motivation I tried mocking the VRFV2Wrapper mock with the coordinator but it didn't work
Justification Create a VRFV2WrapperMock to test locally with Ganache
Hi Nour, thanks for your suggestion. We are currently working on the document for VRF v2 mock contract, and a new unit test about it will be added in repo hardhat-starter-kit in the future.
Thank you very much
@QingyangKong — bumping this to see if there's any movement on creating a mock for testing randomness with chainlink for folks using the direct funding method?
Implemented in hardhat-starter-kit, closing this issue.