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

anchor-contrib: AnchorTypes doesn't parse methods correctly #690

Open
0xksure opened this issue Aug 25, 2022 · 1 comment
Open

anchor-contrib: AnchorTypes doesn't parse methods correctly #690

0xksure opened this issue Aug 25, 2022 · 1 comment

Comments

@0xksure
Copy link

0xksure commented Aug 25, 2022

The AnchorTypes method

export type AnchorTypes<

works as expected for instructions. However, for methods it looks for a method field which is not present in the idl. Could consider using anchors way of generating the methods type from the idl.

@macalinao
Copy link
Member

Do you know if this issue is present in @project-serum/anchor? If not, maybe we should deprecate anchor-contrib.

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

No branches or pull requests

2 participants