Skip to content

BigNumber Value error #5337

Answered by alymurtazamemon
monzzzz asked this question in Q&A
Apr 17, 2023 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

@MoNzZz console log the args array and see which value is undefined.

const args = [
    vrfCoordinatorV2Address,
    entranceFee,
    gasLane,
    subscriptionId,
    callbackGasLimit,
    interval,
]

console.log(args); // here

const raffle = await deploy("Raffle", {
    from: deployer,
    args: args,
    log: true,
    waitConfirmations: network.config.blockConfirmations || 1,
})

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
5 replies
@pratokko
Comment options

@monzzzz
Comment options

@monzzzz
Comment options

@pratokko
Comment options

@monzzzz
Comment options

Comment options

You must be logged in to vote
4 replies
@monzzzz
Comment options

@alymurtazamemon
Comment options

@monzzzz
Comment options

@alymurtazamemon
Comment options

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