Add passthrough weight to Sudo (#4946)

* Add passthrough weight to Sudo

* Bump spec version

* Passthrough `pays_fee`

* Sudo always pays fee

* Use `FunctionOf`

* Add support for closure in dispatch classification

* Update docs
This commit is contained in:
Shawn Tabrizi
2020-02-17 17:30:49 +01:00
committed by GitHub
parent c7a14db792
commit ab47ee226a
4 changed files with 66 additions and 25 deletions
@@ -235,7 +235,7 @@ impl transaction_payment::Trait for Runtime {
impl sudo::Trait for Runtime {
type Event = Event;
type Proposal = Call;
type Call = Call;
}
/// Used for the module template in `./template.rs`