Skip to content

fix: separate PDA handling for multiple token programs in escrow tests#3269

Closed
techvoyagerX wants to merge 1 commit intosolana-foundation:masterfrom
techvoyagerX:fix/pda-handling-token-programs
Closed

fix: separate PDA handling for multiple token programs in escrow tests#3269
techvoyagerX wants to merge 1 commit intosolana-foundation:masterfrom
techvoyagerX:fix/pda-handling-token-programs

Conversation

@techvoyagerX
Copy link
Copy Markdown

This PR fixes an issue where the same PDA was being used for both TOKEN_PROGRAM_ID and TOKEN_2022_PROGRAM_ID during escrow tests, which could cause conflicts. The fix involves deriving separate PDAs for each token program, ensuring that the right authority is used based on the token program involved. This resolves potential ownership conflicts when interacting with the escrow state across multiple token programs.

@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 23, 2024

@techvoyagerX is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@jamie-osec jamie-osec added javascript Pull requests that update Javascript code fix Bug fix PR labels Nov 17, 2025
@jamie-osec
Copy link
Copy Markdown
Collaborator

If this is still an issue, can you please add a test?

@jamie-osec jamie-osec closed this Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix PR javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants