Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Introduce OriginPrivilegeCmp (#4166)
Browse files Browse the repository at this point in the history
* Introduce `OriginPrivilegeCmp`

Make use of the new `OriginPrivilegeCmp` feature of pallet scheduler.
The idea is to make sure that a council origin with more yes votes has
higher privileges than a council origin with less yes votes. This solves
a problem that happened recently on Kusama where the council tried to
cancel a scheduled task, but that required that the same council origin
was used while the cancel motion had more yes votes than the origin
motion that scheduled this task. With this origin privilege compare it
should now be solved by checking the yes votes directly.

* Feedback

* update lockfile for substrate

Co-authored-by: parity-processbot <>
  • Loading branch information
bkchr committed Oct 29, 2021
1 parent e9f329f commit d3a9b5b
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 167 deletions.
Loading

0 comments on commit d3a9b5b

Please sign in to comment.