difftreelog
style fix unused imports
in: master
2 files changed
.maintain/frame-weight-template.hbsdiffbeforeafterboth--- a/.maintain/frame-weight-template.hbs
+++ b/.maintain/frame-weight-template.hbs
@@ -92,4 +92,4 @@
{{~/each}}
}
{{~/each}}
-}
\ No newline at end of file
+}
pallets/inflation/src/benchmarking.rsdiffbeforeafterboth1#![cfg(feature = "runtime-benchmarks")]23use super::*;4use crate::Module as Inflation;56use sp_std::prelude::*;7use frame_system::RawOrigin;8use frame_benchmarking::{benchmarks};9use frame_support::traits::OnInitialize;1011benchmarks! {1213 on_initialize {14 let block1: T::BlockNumber = T::BlockNumber::from(1u32);15 let block2: T::BlockNumber = T::BlockNumber::from(2u32);16 Inflation::<T>::on_initialize(block1); // Create Treasury account17 }: { Inflation::<T>::on_initialize(block2); } // Benchmark deposit_into_existing path1819}1#![cfg(feature = "runtime-benchmarks")]23use super::*;4use crate::Module as Inflation;56use frame_benchmarking::{benchmarks};7use frame_support::traits::OnInitialize;89benchmarks! {1011 on_initialize {12 let block1: T::BlockNumber = T::BlockNumber::from(1u32);13 let block2: T::BlockNumber = T::BlockNumber::from(2u32);14 Inflation::<T>::on_initialize(block1); // Create Treasury account15 }: { Inflation::<T>::on_initialize(block2); } // Benchmark deposit_into_existing path1617}