PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 182 forks source link

update deploy script to resolve #96 #103

Closed 0xKMG closed 1 year ago

0xKMG commented 1 year ago

The latest version (pragma solidity ^0.8.4) of Chainlink VRFCoordinatorV2 implemented the addConsumer function. InvalidConsumer()error will occur during the unit test without adding the raffle contract as a consumer of the Mock.