Closed ngundotra closed 2 years ago
Even Anchor doesn't have support for this: https://github.com/coral-xyz/anchor/blob/698426033052781988cd7980249726501ae08bdc/ts/src/coder/borsh/idl.ts#L126-L142
Could you have another go? I think https://github.com/metaplex-foundation/solita/pull/72 might have fixed this as well. This now handles mixed enums i.e. with data and scalar variants.
Yes this is done! Thank you Thorsten :)
Right now, Solita is unable to handle IDL types that have the following structure:
Would be helpful for automatically maintaining SDKs like for SPL Governance.