mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Restructure frame_benchmarking macro related exports (#14787)
* make reexports private * make reexports private 2 * make reexports private for runtime-benchmarking * make reexports private for try-runtime * fix for try-runtime * make reexports private for tests * fmt * make reexports private for tests * make reexports private for experimental * fix beefy * fix ui test * fix ui test * fix benches * ".git/.scripts/commands/fmt/fmt.sh" * fix contracts use * wip * wip * do not reexport sp_api::metadata_ir * fix CI checks * fix support tests * ".git/.scripts/commands/fmt/fmt.sh" * Update frame/support/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> * import codec directly * fmt * wip * wip * remove benchmarking private exports * fix zepter warning * fix imports * partially fix node-cli tests * fix node-cli tests * fix node-cli build * fix zepter warning * fix test * fix ui test * fix ci * remove unnecessary imports * add import back * add import back --------- Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -24,6 +24,7 @@ sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../
|
||||
sp-io = { version = "23.0.0", default-features = false, optional = true, path = "../../primitives/io" }
|
||||
sp-runtime = { version = "24.0.0", default-features = false, path = "../../primitives/runtime" }
|
||||
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
|
||||
sp-storage = { version = "13.0.0", default-features = false, path = "../../primitives/storage" }
|
||||
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../primitives/timestamp" }
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -44,6 +45,7 @@ std = [
|
||||
"sp-io?/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
"sp-storage/std",
|
||||
"sp-timestamp/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
|
||||
@@ -20,9 +20,10 @@
|
||||
#![cfg(feature = "runtime-benchmarks")]
|
||||
|
||||
use super::*;
|
||||
use frame_benchmarking::v1::{benchmarks, TrackedStorageKey};
|
||||
use frame_benchmarking::v1::benchmarks;
|
||||
use frame_support::{ensure, traits::OnFinalize};
|
||||
use frame_system::RawOrigin;
|
||||
use sp_storage::TrackedStorageKey;
|
||||
|
||||
use crate::Pallet as Timestamp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user