Extend Schedule Pallet for Root Scheduling/Canceling (#5907)

* Add root dispatch to scheduler

* Move encode operation upwards

* fix benchmark

* extend extrinsics

* add some clarifying comments

* start to add benchmarking

* finish weights

* remove double encode

* bump spec

* Update weights

* more accurate weights

* bump base weight
This commit is contained in:
Shawn Tabrizi
2020-05-07 11:47:23 +02:00
committed by GitHub
parent a9523dbc37
commit d8b7520a90
8 changed files with 435 additions and 78 deletions
+1
View File
@@ -967,6 +967,7 @@ impl_runtime_apis! {
add_benchmark!(params, batches, b"identity", Identity);
add_benchmark!(params, batches, b"im-online", ImOnline);
add_benchmark!(params, batches, b"offences", OffencesBench::<Runtime>);
add_benchmark!(params, batches, b"scheduler", Scheduler);
add_benchmark!(params, batches, b"session", SessionBench::<Runtime>);
add_benchmark!(params, batches, b"staking", Staking);
add_benchmark!(params, batches, b"system", SystemBench::<Runtime>);