am getting this error when I ran yarn hardhat deploy in lesson 9 #5453
-
This is my 01-deploy script const { network, ethers } = require("hardhat") const VRF_SUB_FUND_AMOUNT = ethers.utils.parseEther("2")
} module.exports.tags = ["all", "lottery"] THIS IS THE ERROR AM GETTING
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
this is my helper config file const { ethers } = require("hardhat") const networkConfig = {
} //add development chains module.exports = { |
Beta Was this translation helpful? Give feedback.
-
@Mathenson Make sure these arguments |
Beta Was this translation helpful? Give feedback.
@Mathenson Make sure these arguments
const args = [vrfCoordinatorV2Address, lotteryentranceFee, gasLane, subscriptionId, callbackGasLimit, interval ]
are in the same order as the constructor of the contract.