mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 11:21:08 +00:00
Benchmark Treasury Pallet (#5287)
* Start benchmarks * try_origin or root * More benches * stuck * Custom trait functions for benchmarks * finish benchmarks * Bump impl * More comments * Bump spec * Remove import * Update frame/elections-phragmen/src/lib.rs Co-Authored-By: thiolliere <gui.thiolliere@gmail.com> * Update frame/support/src/traits.rs Co-Authored-By: thiolliere <gui.thiolliere@gmail.com> * Fix merge Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
@@ -17,6 +17,8 @@ frame-support = { version = "2.0.0-alpha.4", default-features = false, path = ".
|
||||
frame-system = { version = "2.0.0-alpha.4", default-features = false, path = "../system" }
|
||||
pallet-balances = { version = "2.0.0-alpha.4", default-features = false, path = "../balances" }
|
||||
|
||||
frame-benchmarking = { version = "2.0.0-alpha.2", default-features = false, path = "../benchmarking", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
sp-io ={ version = "2.0.0-alpha.4", path = "../../primitives/io" }
|
||||
sp-core = { version = "2.0.0-alpha.4", path = "../../primitives/core" }
|
||||
@@ -32,3 +34,7 @@ std = [
|
||||
"frame-system/std",
|
||||
"pallet-balances/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"frame-benchmarking",
|
||||
"frame-support/runtime-benchmarks",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user