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:
Shawn Tabrizi
2021-03-02 13:23:07 -04:00
committed by GitHub
parent cdc59db5b7
commit 62ef739faf
9 changed files with 62 additions and 25 deletions
@@ -20,7 +20,6 @@
#![cfg(feature = "runtime-benchmarks")]
use super::*;
use sp_std::prelude::*;
use frame_system::RawOrigin;
use frame_support::{ensure, traits::OnFinalize};
use frame_benchmarking::{benchmarks, TrackedStorageKey, impl_benchmark_test_suite};