Skip to content

Lesson 9: Error expected 0 constructor arguments, got 6 #1784

Answered by krakxn
yash-2138 asked this question in Q&A
Discussion options

You must be logged in to vote
 constructor(
        address vrfCordinatorV2, 
        uint256 entranceFee, 
        bytes32 gasLane, 
        uint64 subscriptionId, 
        uint32 callbackGasLimit,
        uint256 interval
        )  VRFConsumerBaseV2(vrfCordinatorV2) {
 function getNuumberOfPlayers() public view returns(uint256){
        return s_players.length;
    }

Fix the typos above

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@yash-2138
Comment options

@yash-2138
Comment options

@krakxn
Comment options

@yash-2138
Comment options

@krakxn
Comment options

Answer selected by yash-2138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants