Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
@AstroUserName Hey, This is not a course-related issue. I would recommend you to close this issue and come to the discussion tab, there are many active contributors ready to resolve your query. Thanks
Lesson
Lesson 9
Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
https://youtu.be/gyMwXuJrbJQ?t=55196
Operating System
macOS (Intel)
Describe the bug
when trying to deploy Raffle, getting error
TypeError: vrfCoordinatorV2Mock.createSubscription is not a function
my devDep
"devDependencies": { "@chainlink/contracts": "^0.6.1", "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers", "@nomiclabs/hardhat-etherscan": "^3.0.0", "@nomiclabs/hardhat-waffle": "^2.0.0", "chai": "^4.2.0", "dotenv": "^10.0.0", "ethereum-waffle": "^3.0.0", "ethers": "5.0.0", "hardhat": "^2.12.6", "hardhat-contract-sizer": "^2.8.0", "hardhat-deploy": "^0.11.23", "hardhat-gas-reporter": "^1.0.4", "prettier": "^2.3.2", "prettier-plugin-solidity": "^1.0.0-beta.13", "solhint": "^3.3.6", "solidity-coverage": "^0.7.16" },
and hardhat.config.js
require("@nomiclabs/hardhat-waffle") require("@nomiclabs/hardhat-etherscan") require("hardhat-deploy") require("solidity-coverage") require("hardhat-gas-reporter") require("hardhat-contract-sizer") require("dotenv").config()