graph-tooling
graph-tooling copied to clipboard
Property `_name` of `ethereum.SmartContract` class conflicts with contract's `_name()` function
Hello there, I have a contract defined in datasource that has a _name() function included in its ABI, but it conflicts with the _name property of ethereum.SmartContract class, so the command graph build fails with the error TS2300: Duplicate identifier '_name'..
Is there a way to fix this problem without having to remove the _name() function from the ABI or the generated file?
Many thanks!
Hey @cryptogladiators-dev can you share a minimal reproduction. You can either use StackBlitz, CodeSandbox or a public GitHub repo.