Replies: 2 comments 5 replies
-
Did u import "VRFCoordinatorV2Mock"?
|
Beta Was this translation helpful? Give feedback.
-
Hello! I have solved the problem. It was an Issue related to the Dependencies. It looks like I had few plugins incompatible between them, and the For that reason, I couldn't use the About the dependencies, I did another mistake, where I installed everything using YARN but few things using NPM. I guess this was causing the problem. I let here this answer, maybe can help someone. See you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello dear colleagues!
I'm following the Lesson 9, and I'm having an Issue with the deployment of the VRFCoordinatorV2Mock, the creation of the Subscription and Funding the Subscription.
My Contract look like that:
The fuction
createSubscription()
, is taken from the SmartcontractVRFCoordinatorV2Mock
, but somehow i'm getting all the time this error:TypeError: VRFCoordinatorV2Mock.createSubscription is not a function
Later on I have other piece of code similar but with other Function.
So for me the problem is clear that somehow is not getting the functions from
VRFCoordinatorV2Mock
, but I don't know how to resolve the issue.Could you help me?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions