diff --git a/cumulus/pallets/session-benchmarking/src/inner.rs b/cumulus/pallets/session-benchmarking/src/inner.rs index 58169bdb6940..6c5188921362 100644 --- a/cumulus/pallets/session-benchmarking/src/inner.rs +++ b/cumulus/pallets/session-benchmarking/src/inner.rs @@ -34,7 +34,7 @@ mod benchmarks { let caller: T::AccountId = whitelisted_caller(); frame_system::Pallet::::inc_providers(&caller); let keys = T::Keys::decode(&mut sp_runtime::traits::TrailingZeroInput::zeroes()).unwrap(); - let proof: Vec = vec![0,1,2,3]; + let proof: Vec = vec![0, 1, 2, 3]; #[extrinsic_call] _(RawOrigin::Signed(caller), keys, proof); @@ -47,12 +47,16 @@ mod benchmarks { let caller: T::AccountId = whitelisted_caller(); frame_system::Pallet::::inc_providers(&caller); let keys = T::Keys::decode(&mut sp_runtime::traits::TrailingZeroInput::zeroes()).unwrap(); - let proof: Vec = vec![0,1,2,3]; - let _t = pallet_session::Pallet::::set_keys(RawOrigin::Signed(caller.clone()).into(), keys, proof); + let proof: Vec = vec![0, 1, 2, 3]; + let _t = pallet_session::Pallet::::set_keys( + RawOrigin::Signed(caller.clone()).into(), + keys, + proof, + ); #[extrinsic_call] _(RawOrigin::Signed(caller)); - Ok(()) + Ok(()) } }