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

Specifying the multisig PDA as transaction execution signer. #145

Open
eloylp opened this issue Dec 17, 2024 · 0 comments
Open

Specifying the multisig PDA as transaction execution signer. #145

eloylp opened this issue Dec 17, 2024 · 0 comments

Comments

@eloylp
Copy link

eloylp commented Dec 17, 2024

Hey hello 👋

Whats the problem we are trying to solve ?

We would like to use the Squads protocol multisig Rust SDK for creating a transaction, which would upgrade an arbitrary Solana program by calling the solana_program::bpf_loader_upgradeable::upgrade at the moment of proposal execution.

What we are finding so far ?

We are finding that the execute_message method, is only adding as signers transaction level related seeds we cannot set as upgrade_authority of target programs due to their lifetime (per tx).

What we are expecting to happen ?

We would like to add the multisig level account as signer of the CPI, so the target program to upgrade can set it as its own upgrade_authority, granting the upgrade operation through the multisig after a successful votation.

We could also use this method for changing the upgrade_authority to a new one if the multisig members decides so ...

Is this scenario possible ? Thanks in advance :)

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

No branches or pull requests

1 participant