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

idl: Fix generation with unsupported expressions #3033

Conversation

acheroncrypto
Copy link
Collaborator

Problem

Some expressions, e.g. math expressions, are not parseable in the IDL, and they cause compile errors during the generation process.

Summary of changes

Do not parse the seeds that contain non-ASCII-alphanumeric characters.

Resolves #2933

Copy link

vercel bot commented Jun 17, 2024

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added idl related to the IDL, either program or client side fix Bug fix PR labels Jun 17, 2024
@acheroncrypto acheroncrypto force-pushed the idl-fix-generation-with-unsupported-expressions branch from f09c27b to cf59907 Compare June 17, 2024 17:12
@acheroncrypto acheroncrypto merged commit 64c52c6 into coral-xyz:master Jun 17, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix PR idl related to the IDL, either program or client side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

&(config_account.last_token_id + 1).to_le_bytes() causing problems with account resolution in IDL
1 participant