Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamdhameja committed Mar 25, 2024
1 parent 9a22f1b commit b091237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ mod mock;
mod tests;
pub mod weights;

use frame_system::pallet_prelude::*;
use frame_support::{
ensure,
pallet_prelude::*,
traits::{EstimateNextSessionRotation, Get, ValidatorSet, ValidatorSetWithIdentification},
DefaultNoBound,
};
use frame_system::pallet_prelude::*;
use log;
pub use pallet::*;
use sp_runtime::traits::{Convert, Zero};
Expand Down
3 changes: 1 addition & 2 deletions src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ impl OpaqueKeys for PreUpgradeMockSessionKeys {
type Block = frame_system::mocking::MockBlock<Test>;

frame_support::construct_runtime!(
pub struct Test
{
pub struct Test {
System: frame_system,
ValidatorSet: validator_set,
Session: pallet_session,
Expand Down

0 comments on commit b091237

Please sign in to comment.