TypeError: Cannot read properties of undefined (reading 'toNumber') #621
Unanswered
MuhammadLuqman-99
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Looks like your interval = await raffle.getInterval() |
Beta Was this translation helpful? Give feedback.
3 replies
-
Make sure that you have declared assigned the interval = await lottery.getInterval() inside the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
performUpkeep
updates the lottery state, emits and event, and calls the vrf coodinator:
TypeError: Cannot read properties of undefined (reading 'toNumber')
at Context. (test/unit/Lottery.test.js:113:36)
Beta Was this translation helpful? Give feedback.
All reactions