[Lesson 9] Mocha staging test timeout, What can we do with pending VRF fulfillments ? #5591
-
I also meet the mocha staging test timeout problem like Then I check my Raffle Etherscan, both Then I check my Upkeeper Subscription which executes every minute ( to speed up my test) , it also works. Then I go to my VRF Subscription So what can we do here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
@whitefusion It stops at the pending state due to the shortage of funds (this is the reason when you funded the subscription it went further). There are two types Subscription based VRF and Direct Funding VRF, subscription based is recommended because, with the main dashboard, you can monitor your many smart contracts and can funds to all, on the other hand, direct funding methods are connected to only a single smart contract where you fund your VRF inside contract.
You must checkout the Chainlink VRF docs for further differences and then you can choose which one you need.