Skip to content

idl: Add accounts resolution for associated token accounts#2927

Merged
acheroncrypto merged 4 commits into
otter-sec:masterfrom
acheroncrypto:add-account-resolution-for-ata
Apr 24, 2024
Merged

idl: Add accounts resolution for associated token accounts#2927
acheroncrypto merged 4 commits into
otter-sec:masterfrom
acheroncrypto:add-account-resolution-for-ata

Conversation

@acheroncrypto

Copy link
Copy Markdown
Collaborator

Problem

Associated token accounts are not automatically resolved in the client as described in #2925.

Summary of changes

  • Using associated_token::* constraints now results in the account derivation information to be stored in the account's pda field in the IDL.
  • Add a test case

Resolves #2925

@vercel

vercel Bot commented Apr 23, 2024

Copy link
Copy Markdown

@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 lang next Required for the next release idl related to the IDL, either program or client side labels Apr 23, 2024
@acheroncrypto acheroncrypto changed the title Add accounts resolution for associated token accounts idl: Add accounts resolution for associated token accounts Apr 23, 2024
@acheroncrypto acheroncrypto merged commit 81c8c55 into otter-sec:master Apr 24, 2024
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

idl related to the IDL, either program or client side lang next Required for the next release ts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add accounts resolution for associated token accounts

1 participant