Skip to content

program: Add immutable check on set authority#58

Merged
febo merged 3 commits into
mainfrom
febo/set-authority-on-immutable
May 18, 2026
Merged

program: Add immutable check on set authority#58
febo merged 3 commits into
mainfrom
febo/set-authority-on-immutable

Conversation

@febo
Copy link
Copy Markdown
Contributor

@febo febo commented May 17, 2026

Problem

Currently is it possible to change the authority of an immutable canonical metadata account. While changing the authority does not have any use since the metadata is immutable, it is an unexpected behaviour.

Solution

Add a check to prevent changing the authority on immutable metadata accounts.

@febo febo force-pushed the febo/set-authority-on-immutable branch from 2aede25 to 25c3d1e Compare May 17, 2026 15:59
@febo febo requested a review from lorisleiva May 18, 2026 07:58
Copy link
Copy Markdown
Member

@lorisleiva lorisleiva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! (RIP my current refactoring PR on the JS client when I rebase haha)

@febo febo merged commit 87bddcc into main May 18, 2026
9 checks passed
@febo febo deleted the febo/set-authority-on-immutable branch May 18, 2026 09:16
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