Lesson 9 : Staging Test - Error : Timeout of 500000ms exceeded #1918
Replies: 5 comments 31 replies
-
How about you try increasing the wait value in |
Beta Was this translation helpful? Give feedback.
-
Verify if .env is correct or not. Also, use this instead as testnets are really slow: await tx.wait(6) If the above does not work, please push to GitHub. |
Beta Was this translation helpful? Give feedback.
-
I am also stuck here, so would be very interested to hear if someone has found a solution. There are quite a few posts on this topic but none that seem to end up with a smooth execution of the staging test. Nothing like a Sunday afternoon with troubleshooting... Issue 1: checkUpkeep then nothing changes, but if I execute performUpkeep then the staging test moves on to "WinnerPicked event fired". So far so good. The issue seems to be with checkUpkeep (see also #729 and these troubleshooting guidelines. but I don't know how to solve it. Issue 2: ReferenceError: Cannot access 'winnerStartingBalance' before initialization If I try the solution in #988 with setTimeout then it again times out. I have set the mocha timeout to 700 seconds. Any suggestions or solutions to these problems that are have worked? here is my code. Unit tests execute like a dream.. |
Beta Was this translation helpful? Give feedback.
-
@Ahmadfareedkhan The link to your repo doesn't work |
Beta Was this translation helpful? Give feedback.
-
Same issue here...There is a section of the repo that talks about deploying I was under the impression that The issue I find with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am stuck at this part from several days and I tried @PatrickAlphaC troubleshooting process but still can't fix my error. I also copy code from @alymurtazamemon repo but still stuck on same error. I read many discussion but not get the desired result. Please consider this and help to get out of this. Thanks!
My staging test
My Raffle Contract
My hardhat.config
Beta Was this translation helpful? Give feedback.
All reactions