mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 10:11:03 +00:00
pallet-sudo: Accept Root origin as valid sudo (#2783)
This changes `pallet-sudo` to also accept `Root` origin for `ensure_sudo`. This can be useful for parachains who allow the relay chain to have superuser rights to setup the sudo pallet for example.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
title: "Accept Root origin as valid sudo"
|
||||
|
||||
doc:
|
||||
- audience: Runtime User
|
||||
description: |
|
||||
Dispatchables of `pallet-sudo` will now also accept the `Root` origin
|
||||
as valid `sudo` origin. This enhancement is useful for parachains that
|
||||
allow the relay chain as a superuser. It enables the relay chain to send
|
||||
an XCM message to initialize the sudo key.
|
||||
|
||||
crates:
|
||||
- name: "pallet-sudo"
|
||||
Reference in New Issue
Block a user