-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tx-pause pallet to make it easier to pause stuff (#771)
* Split UpdateOrigin to PauseOrigin and Upnause origin. Add list of unpausable pallets Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network> * Fix tests and add new ones Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network> * Add pause_pallets extrinsic to pause multiple pallets Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network> * Fix benchmark tests Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network> * Use 2/6 tech committee for PauseOrigin Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network> * update tx-pause tests Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * pause_pallets and weight draft Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * update weight calculation Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * weight test works Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * fix clippy Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * TxPause pallet whitelist in filter Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * change MaxCallNames to 25 Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * rename to NonPausablePallets Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * EnsureMembers not work on manta yet Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> * fix syntax change Signed-off-by: Adam Reif <Garandor@manta.network> Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network> Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com> Signed-off-by: Adam Reif <Garandor@manta.network> Co-authored-by: zqhxuyuan <zqhxuyuan@gmail.com> Co-authored-by: Adam Reif <garandor@manta.network> Signed-off-by: Charles Ferrell <charlie@manta.network>
- Loading branch information
1 parent
56746fe
commit d55dad6
Showing
8 changed files
with
675 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.