-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
Pass tuple enum to instruction data #2088
Comments
See the error |
You might want to check out anchor-client-gen - it has tuple enum support. |
Using tuple enum as an argument was implemented in #2185 and inside account data in #2601. anchor/tests/idl/programs/client-interactions/src/lib.rs Lines 34 to 37 in b5f4796
anchor/tests/idl/programs/client-interactions/src/lib.rs Lines 81 to 87 in b5f4796
anchor/tests/idl/tests/client-interactions.ts Lines 90 to 96 in b5f4796
|
I pass custom struct including tuple enum to instruction:
and I've got this error:
How to fix it?
The text was updated successfully, but these errors were encountered: