Skip to content

tests: Merge idl and new-idl tests#4195

Merged
acheroncrypto merged 3 commits intosolana-foundation:masterfrom
acheroncrypto:tests-merge-idl-and-new-idl-tests
Jan 25, 2026
Merged

tests: Merge idl and new-idl tests#4195
acheroncrypto merged 3 commits intosolana-foundation:masterfrom
acheroncrypto:tests-merge-idl-and-new-idl-tests

Conversation

@acheroncrypto
Copy link
Copy Markdown
Collaborator

Problem

The reason why we have both idl and new-idl inside the idl tests is because of historical reasons:

  • idl: Test compatibility between the old generation method (parse) and the new one (compile)
  • new-idl: Test the new generation method (also with new features)

The separation no longer makes sense after the removal of the parse method in v0.30.0 (#2824).

Summary of changes

  • Merge idl and new-idl tests
  • Remove the old IDL (redundant since we no longer check compatibility)
  • Add more tests:
    • Boxed values
    • Zero copy accounts (#[account(zero_copy)])
    • Unsafe zero copy accounts (#[account(zero_copy(unsafe)])
    • Error codes with correct offset (#[error_code])

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 24, 2026

@acheroncrypto is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto merged commit acd1c71 into solana-foundation:master Jan 25, 2026
56 of 59 checks passed
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant