Skip to content

Lesson 9: 'initializes the raffle correctly' test runs an error #4605

Answered by rin-st
CeroGravity asked this question in Q&A
Discussion options

You must be logged in to vote

please recheck that you pass to the constructor the proper interval parameter value in your 01-deploy-raffle.js and make sure you use that value in your contract. Probably you're passing waitBlockConfirmations instead of networkConfig[network.config.chainId]["interval"]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CeroGravity
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
2 participants