Benchmark Timestamp Pallet (#4891)

* Add selected_benchmark! macro.

* Use selected_benchmark! in Identity pallet.

* Implement timestamp pallet benchmark.

* Fix some nits.

* Bump impl_version.
This commit is contained in:
Marcio Diaz
2020-02-12 11:00:08 +01:00
committed by GitHub
parent b34df420f8
commit ae70b10326
6 changed files with 163 additions and 43 deletions
+1
View File
@@ -9,6 +9,7 @@ license = "GPL-3.0"
serde = { version = "1.0.101", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
sp-std = { version = "2.0.0", default-features = false, path = "../../primitives/std" }
sp-io = { version = "2.0.0", default-features = false, path = "../../primitives/io" }
sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" }
sp-inherents = { version = "2.0.0", default-features = false, path = "../../primitives/inherents" }
frame-support = { version = "2.0.0", default-features = false, path = "../support" }