Skip to content

solana: Skip upgrade authority CPI if current owner is upgrade_lock#617

Merged
nvsriram merged 2 commits intomainfrom
solana/transfer-upgrade-authority-if-not-upgrade-lock
May 22, 2025
Merged

solana: Skip upgrade authority CPI if current owner is upgrade_lock#617
nvsriram merged 2 commits intomainfrom
solana/transfer-upgrade-authority-if-not-upgrade-lock

Conversation

@nvsriram
Copy link
Copy Markdown
Contributor

@nvsriram nvsriram commented May 15, 2025

This PR adds a check to ensure current owner is not upgrade_lock and only then performs the CPI call to set_upgrade_authority_checked.

djb15
djb15 previously approved these changes May 16, 2025
@nvsriram nvsriram force-pushed the solana/transfer-upgrade-authority-if-not-upgrade-lock branch from 2fd56da to 3d58b84 Compare May 21, 2025 16:39
@nvsriram nvsriram merged commit 46f79d9 into main May 22, 2025
9 checks passed
@nvsriram nvsriram deleted the solana/transfer-upgrade-authority-if-not-upgrade-lock branch May 22, 2025 17:40
SC4RECOIN added a commit to m0-foundation/solana-m that referenced this pull request Jul 29, 2025
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.

3 participants