Lesson 7: Staging test is timing out at the final assert #6514
Unanswered
yuyangezheng
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I actually got it to work by cleaning the yarn cache, but the test is pretty inconsistent in that it sometimes works like expected and other times it times out. So far it seems to be that it times out half the time for me. |
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.
-
The above code is my code for the staging test that I am running with
yarn hardhat test --network sepolia
. The code takes a long time to run (like 10 minutes) so I had entered the console logs to see where the code is hanging. Numbers 1-7 are logged reasonably quickly andconsole.log(endingBalance)
outputs 0n as expected. Despite this, the final asserting, which should be True hangs and eventually times out/returns the error blow.I am not sure what is causing this error and any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions