coral-xyz / anchor

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

lang: Support legacy IDLs with `declare_program!` #2997

Closed acheroncrypto closed 1 month ago

acheroncrypto commented 1 month ago

Problem

It's not possible to use legacy IDLs (pre-Anchor 0.30) with the declare_program! macro as described in https://github.com/coral-xyz/anchor/issues/2972.

Summary of changes

Add support for legacy IDLs by automatically converting them to the new IDL spec (https://github.com/coral-xyz/anchor/pull/2986).

Resolves https://github.com/coral-xyz/anchor/issues/2972

vercel[bot] commented 1 month 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.