Hello Team I Receive the Following Error when using the Graph yarn codegen command trying to generate types for contract ABIs

× Failed to generate types for contract ABIs: Failed to generate types for contract ABI: Conversion from 'AssemblyScript' to 'ethereum' for source type 'MyStruct' is not supported

has anyone ever encountered this before?

any help would be appreciated

Thank you

1 Answer 1


I was unable to get the issue resolved using

yarn add @graphprotocol/[email protected]

however downgrading to the following resolves the issue

yarn add @graphprotocol/[email protected]

I hope this can help someone else

Thank You Team

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.