Closed Sravan0x3 closed 1 year ago
getting TypeError: vrfCoordinatorV2Mock.createSubscription is not a function error when trying to deploy.
TypeError: vrfCoordinatorV2Mock.createSubscription is not a function
const transactionResponse = await vrfCoordinatorV2Mock.createSubscription() const transactionReceipt = await transactionResponse.wait(1) subscriptionId = transactionReceipt.events[0].args.subId
Can you:
getting
TypeError: vrfCoordinatorV2Mock.createSubscription is not a function
error when trying to deploy.