mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 18:41:05 +00:00
Add benchmark to node-template pallet-template (#8239)
* Add benchmark to node-template pallet-template * export sp_std to avoid missing dep when using macro * fix more `sp_std` deps * remove unused * Update bin/node-template/pallets/template/src/benchmarking.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update bin/node-template/pallets/template/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -25,6 +25,12 @@ default-features = false
|
||||
version = "3.0.0"
|
||||
path = "../../../../frame/system"
|
||||
|
||||
[dependencies.frame-benchmarking]
|
||||
default-features = false
|
||||
version = "3.1.0"
|
||||
path = "../../../../frame/benchmarking"
|
||||
optional = true
|
||||
|
||||
[dev-dependencies]
|
||||
serde = { version = "1.0.101" }
|
||||
|
||||
@@ -43,12 +49,13 @@ default-features = false
|
||||
version = "3.0.0"
|
||||
path = "../../../../primitives/runtime"
|
||||
|
||||
|
||||
[features]
|
||||
default = ['std']
|
||||
std = [
|
||||
'codec/std',
|
||||
'frame-support/std',
|
||||
'frame-system/std'
|
||||
'frame-system/std',
|
||||
'frame-benchmarking/std',
|
||||
]
|
||||
runtime-benchmarks = ["frame-benchmarking"]
|
||||
try-runtime = ["frame-support/try-runtime"]
|
||||
|
||||
Reference in New Issue
Block a user