Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated warnings during tests: "WARNING: Multiple definitions for isRegisteredModule" #38

Closed
Jaimeloeuf opened this issue Oct 31, 2019 · 2 comments

Comments

@Jaimeloeuf
Copy link

There were many warnings emitted during the tests, most of which are the same warning,
"WARNING: Multiple definitions for isRegisteredModule

Would just like to know if this is an expected behavior or not, and if so, I would love to understand why this is emitted or where is it from, as I am unable to find any resources of this online.
After skimming through the tests slightly, suspect might be caused by modules being reloaded/re-deployed everytime in beforeEach hooks.

@olivdb
Copy link
Contributor

olivdb commented Oct 31, 2019

This warning is expected and is thrown by ethers.js (a dependency of etherlime) when deploying a contract having two functions with the same name (in this case isRegisteredModule(address[]) and isRegisteredModule(address)). See ethers-io/ethers.js#499.

@Jaimeloeuf
Copy link
Author

@olivdb I see, thanks alot for the swift response and appreciate the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants