Skip to content

refactor: Improve authority validation on close#3

Merged
febo merged 5 commits intomainfrom
febo/authority-on-close
Jan 18, 2025
Merged

refactor: Improve authority validation on close#3
febo merged 5 commits intomainfrom
febo/authority-on-close

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