Skip to content
Discussion options

You must be logged in to vote

The order of arguments is incorrect in accordance to constructor in your raffle.sol :

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

In 01-deploy-raffle.js try this instead:

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

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@maadi7
Comment options

@alymurtazamemon
Comment options

Comment options

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

@krakxn
Comment options

@maadi7
Comment options

@krakxn
Comment options

Comment options

You must be logged in to vote
2 replies
@maadi7
Comment options

@adityabhattad2021
Comment options

Answer selected by maadi7
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