We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The namespaced RPC method doesn't seem to create the correct type definitions for an enum arg type.
An enum is specified for instruction arg here: https://github.com/dominictwlee/ts-enum-example-anchor/blob/master/programs/ts-enum-example/src/lib.rs#L8
However, it seems any type can be passed to that positional arg. https://github.com/dominictwlee/ts-enum-example-anchor/blob/master/tests/ts-enum-example.ts#L13
I'm guessing the type definitions generated don't seem to enforce the correct type.
The text was updated successfully, but these errors were encountered:
This should be fixed by #1726
Sorry, something went wrong.
Fixed in #2482.
No branches or pull requests
The namespaced RPC method doesn't seem to create the correct type definitions for an enum arg type.
An enum is specified for instruction arg here:
https://github.com/dominictwlee/ts-enum-example-anchor/blob/master/programs/ts-enum-example/src/lib.rs#L8
However, it seems any type can be passed to that positional arg.
https://github.com/dominictwlee/ts-enum-example-anchor/blob/master/tests/ts-enum-example.ts#L13
I'm guessing the type definitions generated don't seem to enforce the correct type.
The text was updated successfully, but these errors were encountered: