git.delta.rocks / unique-network / refs/commits / 1d12e73b766b

difftreelog

style fix unused imports

Yaroslav Bolyukin2021-10-22parent: #1d469f4.patch.diff
in: master

2 files changed

modified.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
+}
modifiedpallets/inflation/src/benchmarking.rsdiffbeforeafterboth
before · pallets/inflation/src/benchmarking.rs
1#![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}