Lesson 9: 'initializes the raffle correctly' test runs an error #4605
Answered
by
rin-st
CeroGravity
asked this question in
Q&A
-
I am running this test but the interval keeps coming as 1 this is my helper-config file
and this is the error I am getting
|
Beta Was this translation helpful? Give feedback.
Answered by
rin-st
Jan 26, 2023
Replies: 1 comment 1 reply
-
please recheck that you pass to the constructor the proper interval parameter value in your |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alymurtazamemon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 passingwaitBlockConfirmations
instead ofnetworkConfig[network.config.chainId]["interval"]