Duplicate definition for Compound ABI
See original GitHub issueHello,
I’m using the compound comptroller ropsten contract address and abi to call interact with some function with etherJs,
let compComptrollerContract = new ethers.Contract(config.compComptrollerDeployedContract, config.compComptrollerDeployedContractABI, provider);
I get this displayed on my terminal
duplicate definition - Failure(uint256,uint256,uint256)
duplicate definition - admin()
duplicate definition - comptrollerImplementation()
duplicate definition - pendingAdmin()
duplicate definition - pendingComptrollerImplementation()
Duplicate definition of ActionPaused (ActionPaused(string,bool), ActionPaused(address,string,bool))
I reached out to the compound team they said Ethers does not like method overloading in ABI definitions. Maybe it will get fixed at some point. The function I’m interacting works fine, just wanted to know if this will affect my code in anyway thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Duplicate definition | Microsoft Learn
In this article. You can only define a conditional compiler constant to have one value. This error has the following cause and solution:....
Read more >platform/external/abi-compliance-checker - Git at Google
my $ShortUsage = "ABI Compliance Checker (ABICC) $TOOL_VERSION. A tool for checking backward compatibility of a C/C++ library API.
Read more >ChemmineR: Cheminformatics Toolkit for R - Bioconductor
Often it is of interest to identify very similar or identical compounds in a compound set. The cmp.duplicated function can be used to...
Read more >C23 is Finished: Here is What is on the Menu | The Pasture
we are going to add the static modifier, which means that the compound literal we create has static storage duration:.
Read more >Warning Options (Using the GNU Compiler Collection (GCC))
Since G++ now defaults to updating the ABI with each major release, ... Warn if a declaration has duplicate const , volatile ,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yupp. It’s perfectly fine. Just makes selecting to correct method a bit more difficult. That’s why it’s just a warning.
In v6, since it uses Proxies, so this warning no longer exists. 😃
I am still facing this issue because I have multiple functions with the same name but with different parameters. How to I supress this log?