Closed sadeghte closed 3 months ago
The issue comes from this block.
It seems to only support checking whether structs derive the serialize/deserialize trait implementations. Custom implementations get left behind when defining types.
It is now possible to define custom types and include it in the IDL after https://github.com/coral-xyz/anchor/pull/2824.
Example:
This is the error that I faced:
lib.rs
types.rs
instructions.rs
state.rs
idl.json