anchor
anchor copied to clipboard
Missing Idl Type for imported types
Anchor doesn't generate IDL definitions for imported types. Example: https://github.com/drift-labs/cpi-example/blob/master/programs/drift-client/src/lib.rs#L343
Drift structs need to be redefined and reconstructed for CPI calls.
related : #454
is this fixed somewhere or still open ?
Fixed by https://github.com/coral-xyz/anchor/pull/2824.