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

Shank has trouble with split state files #37

Open
blockiosaurus opened this issue Sep 19, 2022 · 0 comments
Open

Shank has trouble with split state files #37

blockiosaurus opened this issue Sep 19, 2022 · 0 comments
Assignees

Comments

@blockiosaurus
Copy link
Contributor

When I was attempting to refactor Token Metadata code, and split out feature specific state into its own state.rs file (as seen here https://github.com/metaplex-foundation/metaplex-program-library/tree/d4eb8783a2d34cb2a1da65aaf14aa3ac3cc2a3e1/token-metadata/program), it seemed like shank didn't properly extract all of the different states. When I tried to generate an API with Solita it looked like not all the types and structures were in the IDL and so API generation failed.

@thlorenz thlorenz self-assigned this Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants