Skip to content

Commit

Permalink
Various nits and alignments for testnet runtimes (paritytech#3024)
Browse files Browse the repository at this point in the history
There were several improvements and PRs that didn't apply to all
runtimes, so this PR attempts to align those small differences. In
addition, the PR eliminates unused dependencies across multiple modules.

Relates to PR for `polkadot-fellows`:
polkadot-fellows/runtimes#154
  • Loading branch information
bkontur authored Jan 23, 2024
1 parent 019db74 commit 2007ee1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions substrate/bin/node-template/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,9 @@ pub type Executive = frame_executive::Executive<
Migrations,
>;

#[cfg(feature = "runtime-benchmarks")]
#[macro_use]
extern crate frame_benchmarking;

#[cfg(feature = "runtime-benchmarks")]
mod benches {
define_benchmarks!(
frame_benchmarking::define_benchmarks!(
[frame_benchmarking, BaselineBench::<Runtime>]
[frame_system, SystemBench::<Runtime>]
[pallet_balances, Balances]
Expand Down

0 comments on commit 2007ee1

Please sign in to comment.