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
#[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug, PartialEq)] pub enum AdminActions { NoAction, Pause, Unpause, AddToken(Pubkey), RemoveToken(Pubkey), AddOwner(Pubkey), RemoveOwner(Pubkey), Withdraw((Pubkey, u64)), }
#[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug, PartialEq)] pub enum AdminActions { NoAction, Pause, Unpause, AddToken(Pubkey), RemoveToken(Pubkey), AddOwner(Pubkey), RemoveOwner(Pubkey), Withdraw(Pubkey, u64), }
The difference is Withdraw inner tuple. This cause the type to be reference in the resulting IDL , but it's not defined in the types section.
Withdraw
tuple
IDL
types
If this is an unsupported type , it should warn/error about it.
The text was updated successfully, but these errors were encountered:
Fixed by #2824.
Sorry, something went wrong.
No branches or pull requests
Bad
Good
The difference is
Withdraw
innertuple
. This cause the type to be reference in the resultingIDL
, but it's not defined in thetypes
section.If this is an unsupported type , it should warn/error about it.
The text was updated successfully, but these errors were encountered: