Skip to content
Snippets Groups Projects
Commit 6ba635fc authored by Qinxuan Chen's avatar Qinxuan Chen Committed by GitHub
Browse files

pallet-sudo: add `CheckOnlySudoAccount` signed extension (#12496)


* pallet-sudo: add `CheckSudoKey` signed extension

Signed-off-by: default avatarkoushiro <koushiro.cqx@gmail.com>

* Rename CheckSudoKey => CheckOnlySudo

Signed-off-by: default avatarkoushiro <koushiro.cqx@gmail.com>

* Rename extension name and Add some docs

* Apply review suggestions

* Update frame/sudo/src/extension.rs

Co-authored-by: default avatarJegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>

* Update frame/sudo/src/extension.rs

Signed-off-by: default avatarkoushiro <koushiro.cqx@gmail.com>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
Co-authored-by: default avatarJegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment