Closed kespinola closed 4 months ago
I believe the issues is here where the accountNode is referencing the type to create its representation since the type still remains it is also registered as a type with all the same functions and types minus the discriminator available on the account.
https://github.com/kinobi-so/kinobi/blob/main/packages/nodes-from-anchor/src/v01/AccountNode.ts#L18
What I'm going to do is purge the type before generating the definedTypes.
Well spotted, thank you! 🙏
Issue
Generated types have name conflicts with accounts.
Config
Logs