We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
#[account] pub struct Example { pub value: SlotTrackedValue<u64>, } #[derive(AnchorDeserialize, AnchorSerialize, Clone, Copy, Debug, Default)] pub struct SlotTrackedValue<T> { pub value: T, pub last_update: LastUpdate, }
gets parsed into the IDL as:
... { name: "value", type: { defined: "SlotTrackedValue<u64>", }, }, ... types: [ { name: "SlotTrackedValue", type: { kind: "struct", fields: [ { name: "value", type: { defined: "T", }, }, { name: "lastUpdate", type: { defined: "LastUpdate", }, }, ], }, }, ]
The text was updated successfully, but these errors were encountered:
Fixed by #2824.
Sorry, something went wrong.
No branches or pull requests
Example:
gets parsed into the IDL as:
The text was updated successfully, but these errors were encountered: