Duplicate identifier Error from Generated file
Which packages are impacted by your issue?
@graphprotocol/graph-cli
Describe the issue
I noticed a problem with the code generated from the ABI for a particular contract when doing a graph init and build. If I follow the instructions, I get a Duplicate identifier Error in a file in the "generated" directory when I run "graph build".
Environment Polygon POS
Contract 0xaaAAAaAa33D3520a2266CE508bc079FCFe82C8E3
https://polygonscan.com/address/0xaaAAAaAa33D3520a2266CE508bc079FCFe82C8E3
Reproduction
graph init
Steps to Reproduce the Bug or Issue
-
run "graph init" settings: matic contract 0xaaAAAaAa33D3520a2266CE508bc079FCFe82C8E3
-
graph auth
-
cd directory
-
graph codegen && graph build
Doing so will result in a Duplicate identifier error
Expected behavior
Code must be generated so that there are no duplicate identifiers
Screenshots or Videos
Platform
- OS: [e.g. macOS, Windows, Linux]
- NodeJS: [e.g. 18.5.0]
@graphprotocol/*version(s): [e.g. 2.6.2]
Subgraph Manifest
No response
Subgraph GraphQL Schema
No response
Additional context
No response