Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idl: Add accounts resolution for associated token accounts #2927

Merged

Conversation

acheroncrypto
Copy link
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

Copy link

vercel bot commented Apr 23, 2024

@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 coral-xyz:master Apr 24, 2024
48 of 49 checks passed
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