anchor icon indicating copy to clipboard operation
anchor copied to clipboard

Missing Idl Type for imported types

Open jkbpvsc opened this issue 3 years ago • 2 comments

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.

jkbpvsc avatar Mar 07 '22 11:03 jkbpvsc

related : #454

paul-schaaf avatar Apr 21 '22 16:04 paul-schaaf

is this fixed somewhere or still open ?

theDefiBat avatar Oct 24 '23 18:10 theDefiBat

Fixed by https://github.com/coral-xyz/anchor/pull/2824.

acheroncrypto avatar Mar 10 '24 17:03 acheroncrypto