solana-idl-foundation / solana-idl-spec

Specifying a Solana IDL Standard, inspired from the Anchor IDL Standard
Apache License 2.0
20 stars 2 forks source link

Consider dropping IdlEnumFieldsTuple from first version #17

Open ckamm opened 1 year ago

ckamm commented 1 year ago

As far as I remember anchor doesn't yet support enum variants that are just a list of types. It requires enum variants to have named fields.

If anchor errors out on idls of this form, then maybe it shouldn't be part of the first version of the spec?