Bug Report Title #3359
Unanswered
ChinmayGopal931
asked this question in
Q&A
Replies: 1 comment
-
You can turn warnings off in the logger: In general, I receommend removing duplicate definitions, as they increase your code size and make it difficult to call the function you intend. That said, in v6, much of this goes away, since Contract uses ES6 Proxy, which means it can complain at runtime when you use something that is ambiguous. :) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
5.7.0
Search Terms
abi, duplicate-definition, parse transaction
Describe the Problem
I keep getting warnings from ethers that suggest that I have duplicate definitions in my code. I am using the function parse transaction with an Interface from ethers with functions with the same name but with different parameters.
Parse tranasction works perfectly but I just need to get rid of those pesky logs in the web console.
I couldn't find much information about this anywhere else online.
Code Snippet
Contract ABI
Errors
Environment
No response
Environment (Other)
No response
Beta Was this translation helpful? Give feedback.
All reactions