-
Notifications
You must be signed in to change notification settings - Fork 58
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
Client generation error #121
Comments
Looks like an old version of AnchorPy, can you try the latest version? |
Done that, and now I get an error that says |
Same error as this then? #114 |
Yes exactly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Everytime I try using the
anchorpy client-gen idl.json client
command, I get this kind of errorapischema.validation.errors.ValidationError: ValidationError(messages=[], children={'instructions': ValidationError(messages=[], children={12: ValidationError(messages=[], children={'accounts': ValidationError(messages=[], children={2: ValidationError(messages=[], children={'isSigner': ValidationError(messages=['unexpected property'], children={}), 'accounts': ValidationError(messages=['missing property'], children={}), 'isMut': ValidationError(messages=['unexpected property'], children={}), 'isOptional': ValidationError(messages=['unexpected property', 'unexpected property'], children={})})})}), 16: ValidationError(messages=[], children={'accounts': ValidationError(messages=[], children={1: ValidationError(messages=[], children={'isSigner': ValidationError(messages=['unexpected property'], children={}), 'accounts': ValidationError(messages=['missing property'], children={}), 'isMut': ValidationError(messages=['unexpected property'], children={}), 'isOptional': ValidationError(messages=['unexpected property', 'unexpected property'], children={})})})}), 17: ValidationError(messages=[], children={'accounts': ValidationError(messages=[], children={1: ValidationError(messages=[], children={'isSigner': ValidationError(messages=['unexpected property'], children={}), 'accounts': ValidationError(messages=['missing property'], children={}), 'isMut': ValidationError(messages=['unexpected property'], children={}), 'isOptional': ValidationError(messages=['unexpected property', 'unexpected property'], children={})})})}), 18: ValidationError(messages=[], children={'accounts': ValidationError(messages=[], children={1: ValidationError(messages=[], children={'isSigner': ValidationError(messages=['unexpected property'], children={}), 'accounts': ValidationError(messages=['missing property'], children={}), 'isMut': ValidationError(messages=['unexpected property'], children={}), 'isOptional': ValidationError(messages=['unexpected property', 'unexpected property'], children={})})})})})})
And its the same for all idls I have tried. Not sure what the cause of this issue is
The text was updated successfully, but these errors were encountered: