Closed 0xKMG closed 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.
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.