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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

techvoyagerX
Copy link

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.

Copy link

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.

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.

1 participant