saber-hq / anchor-gen

Generates an Anchor CPI crate from a JSON IDL.

Home Page:https://crates.io/crates/anchor-gen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust enums defined types are incorrect

Arrowana opened this issue · comments

commented

Rust enums are correct only for variants without any fields (named or not).

very strange error, cannot deserialize the data serialized by the same Instruction
image