Skip to content
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

Support named enum variants #45

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

ChewingGlass
Copy link

Fixes #40

@macalinao
Copy link
Member

do you have any test cases?

@ChewingGlass
Copy link
Author

I didn’t see any tests in the repo? It’s being used in this repo with no issues https://github.com/helium/account-compression-anchor-gen

@macalinao
Copy link
Member

I didn’t see any tests in the repo? It’s being used in this repo with no issues https://github.com/helium/account-compression-anchor-gen

Ah I meant adding some IDLs into this repo which contain named enum variants

I'd appreciate if you could fix Clippy so I can merge this in, or allow me to push to your branch

@ChewingGlass
Copy link
Author

ChewingGlass commented Aug 25, 2023

Sent you an invite in case you wanted to add those idls. Also fixed the cargo fmt

@qiluge
Copy link

qiluge commented Jul 1, 2024

current anchor-gen cannot decode jupiter tx, likehttps://solscan.io/tx/NyTYMGzS3ADiPw8QEjybv886ANXQrrgvzKWbRX64xAZStMspSYSRESxjcuqoWQhRk3rRkns8dLcd8fyX96hPMmm. Maybe this update could resolve this problem?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rust enums defined types are incorrect
3 participants