Skip to content

Specifying the multisig PDA as transaction execution signer. #145

@eloylp

Description

@eloylp

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions