0

Few days ago, I asked a question here How can I strict my extrinsic to be executed only by Multisig user? to allow extrinsic to be executed only by multisig user. I got the solution. But it leads to another problem. Now any multisig user can execute the extrinsic.

I want only specific multisig user to execute this extrinsic. It's kind of multisig root user.

The purpose behind this requirement is that we have an extrinsic which can only be executed by sudo. We have 2 investors who also want to control this. Our plan is include these user investors with sudo so that when sudo initiates the transaction, it also needs 2 other approvals to execute the transaction.

Please let me know if it is possible to have multisig root user.

1 Answer 1

2

So, you don't need the previous solution anymore.

Just use pallet-sudo + pallet-multisig.

Create the multisig account. (you + 2 investors)

Set the multisig address as the sudo key.


e.g. Use the multisig account to send a runtime upgrade extrinsic.

1
  • 1
    I can't thank you enough for this answer. You solved my issue without making any code chance. Previous solution is still knowledgeful 😛
    – Boleng
    Feb 17, 2023 at 2:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.