Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Nov 29, 2024
1 parent df232f9 commit 26ef444
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions substrate/frame/session/benchmarking/src/inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mod benchmarks {
use super::*;

#[benchmark]
fn set_keys() -> Result<(), BenchmarkError>{
fn set_keys() -> Result<(), BenchmarkError> {
let n = MaxNominationsOf::<T>::get();
let (v_stash, _) = create_validator_with_nominators::<T>(
n,
Expand All @@ -74,7 +74,7 @@ mod benchmarks {
}

#[benchmark]
fn purge_keys() -> Result<(), BenchmarkError>{
fn purge_keys() -> Result<(), BenchmarkError> {
let n = MaxNominationsOf::<T>::get();
let (v_stash, _) = create_validator_with_nominators::<T>(
n,
Expand Down Expand Up @@ -128,7 +128,12 @@ mod benchmarks {
assert!(Historical::<T>::check_proof(key, key_owner_proof2).is_some());
}

impl_benchmark_test_suite!(Pallet, crate::mock::new_test_ext(), crate::mock::Test, extra = false);
impl_benchmark_test_suite!(
Pallet,
crate::mock::new_test_ext(),
crate::mock::Test,
extra = false
);
}

/// Sets up the benchmark for checking a membership proof. It creates the given
Expand Down

0 comments on commit 26ef444

Please sign in to comment.