mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
96bec7a7ab
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.
13 lines
408 B
Plaintext
13 lines
408 B
Plaintext
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"
|