Skip to content

fix(idl): preserve legacy type generics during IDL conversion - #4922

Open
akash-osec wants to merge 1 commit into
otter-sec:anchor-nextfrom
akash-osec:fix/v2-legacy-idl-preserve-generics
Open

fix(idl): preserve legacy type generics during IDL conversion#4922
akash-osec wants to merge 1 commit into
otter-sec:anchor-nextfrom
akash-osec:fix/v2-legacy-idl-preserve-generics

Conversation

@akash-osec

Copy link
Copy Markdown
Member

Fixes finding AI # 15

Legacy IDL conversion dropped type-parameter declarations while keeping generic field uses, so declare_program! emitted undeclared T/N. Declarations are now mapped to v2 IdlTypeDefGeneric::Type and covered by a converter regression test.

@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown

@akash-osec is attempting to deploy a commit to the OtterSec Team on Vercel.

A member of the Team first needs to authorize it.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (anchor-next@e4878b6). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff               @@
##             anchor-next    #4922   +/-   ##
==============================================
  Coverage               ?   64.64%           
==============================================
  Files                  ?      127           
  Lines                  ?    16612           
  Branches               ?        0           
==============================================
  Hits                   ?    10738           
  Misses                 ?     5874           
  Partials               ?        0           
Flag Coverage Δ
v2 64.64% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants