You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About the problem in Lesson 9, "Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. "
#6473
Open
RMTKroos opened this issue
Feb 29, 2024
· 1 comment
The text was updated successfully, but these errors were encountered:
RMTKroos
changed the title
If using **ethers v6**,some changes are needed.
About the problem in Lesson 9, "Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. "
Feb 29, 2024
If using ethers v6,some changes are needed.
Firstly, in ethers v6, getBalance function need use provider,
Change:
To:
furthermore, in v6, the BigNumber class has been replaced with the built-in ES2020,
Change:
winnerStartingBalance.add(raffleEntryFee)
To:
Originally posted by @RMTKroos in #5050 (comment)
The text was updated successfully, but these errors were encountered: