Skip to content

Lesson 9: Error: ERROR processing 01-deploy-raffle.js: Error: invalid BigNumber value... #527

Answered by technophile-04
su-adam asked this question in Q&A
Discussion options

You must be logged in to vote

In your helper-hardhat-config you have a spelling mistake callbackGasLinit it should be callbackGasLimit. I hope you find it .

Corrected one :

helper-hardhat-config

const { ethers } = require("hardhat")



const networkConfig = {
    4: {
        name: "rinkeby",
        vrfCoordinatorV2: "0x6168499c0cFfCaCD319c818142124B7A15E857ab",
        entranceFee: ethers.utils.parseEther("0.01"),
        gasLane: "0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc",
        subscriptionId: "0",
-       callbackGasLinit: "500,000",
+      callbackGasLimit : "500000"
         interval: "30",


    },
    31337: {
        name: "hardhat",
        entranceFee: ethers.utils.parseEther("0…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@su-adam
Comment options

Comment options

You must be logged in to vote
5 replies
@su-adam
Comment options

@technophile-04
Comment options

@su-adam
Comment options

@technophile-04
Comment options

@su-adam
Comment options

Answer selected by su-adam
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants