coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.36k stars 1.25k forks source link

idl: Fix generation with unsupported expressions #3033

Closed acheroncrypto closed 2 weeks ago

acheroncrypto commented 2 weeks ago

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 https://github.com/coral-xyz/anchor/issues/2933

vercel[bot] commented 2 weeks ago

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

A member of the Team first needs to authorize it.