Skip to content

Commit

Permalink
".git/.scripts/commands/fmt/fmt.sh"
Browse files Browse the repository at this point in the history
  • Loading branch information
command-bot committed Nov 12, 2024
1 parent 612886f commit fb31d1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ mod benchmarks {
// We don't directly need the data-provider to be populated, but it is just easy to use it.
set_up_data_provider::<T>(v, t);
// default bounds are unbounded.
let targets = T::DataProvider::electable_targets(DataProviderBounds::default(), Zero::zero())?;
let targets =
T::DataProvider::electable_targets(DataProviderBounds::default(), Zero::zero())?;
let voters = T::DataProvider::electing_voters(DataProviderBounds::default(), Zero::zero())?;

let desired_targets = T::DataProvider::desired_targets()?;
Expand Down
4 changes: 3 additions & 1 deletion substrate/frame/staking/src/pallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,9 @@ pub mod pallet {
/// The election failed. No new era is planned.
StakingElectionFailed,
/// An account has stopped participating as either a validator or nominator.
Chilled { stash: T::AccountId },
Chilled {
stash: T::AccountId,
},
/// A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
PayoutStarted {
era_index: EraIndex,
Expand Down

0 comments on commit fb31d1b

Please sign in to comment.