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

refactor: Improve authority validation on close #3

Merged
merged 5 commits into from
Jan 18, 2025

Conversation

febo
Copy link
Contributor

@febo febo commented Jan 16, 2025

Problem

Currently it is not possible to close PDA buffer accounts.

Solution

Improve the authority validation to allow closing PDA buffers. The program upgrade authority is able to close a canonical PDA buffer even if a different authority created it.

@febo febo requested a review from lorisleiva January 16, 2025 12:18
@febo febo marked this pull request as ready for review January 18, 2025 03:01
@febo febo merged commit 6a7b8e4 into main Jan 18, 2025
6 of 9 checks passed
@febo febo deleted the febo/authority-on-close branch January 18, 2025 13:43
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.

2 participants