This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 681
MaxListenersExceededWarning encountered when running with Web3 #267
Labels
Comments
I can reproduce this by running the Here is a stacktrace of the warning:
|
The only correct path forward within ganache (I believe that this is really a problem in web3.js which is adding listeners a little haphazardly) is to overload the |
Seems like this issue is being dropped |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For more detailed history: web3/web3.js#1648
When running Ganache provider (for my tests) and then subsequently interacting them with Web3.js, I get warnings like the following:
According to this specific comment, the issue seems to be due to the Ganache Provider.
Interestingly, @cgewecke suppressed these warnings in Truffle in this PR: trufflesuite/truffle#1088
Not exactly sure if this belongs here, but I believe it is worth the investigation.
The text was updated successfully, but these errors were encountered: