Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Remove deprecated feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Dec 12, 2022
1 parent f0ef0da commit 8085d07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions frame/staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,3 @@ runtime-benchmarks = [
"sp-staking/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
fuzz = [
"frame-election-provider-support/fuzz",
]
2 changes: 1 addition & 1 deletion frame/staking/src/pallet/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ impl<T: Config> ScoreProvider<T::AccountId> for Pallet<T> {
Self::weight_of(who)
}

#[cfg(any(feature = "runtime-benchmarks", feature = "fuzz"))]
#[cfg(feature = "runtime-benchmarks")]
fn set_score_of(who: &T::AccountId, weight: Self::Score) {
// this will clearly results in an inconsistent state, but it should not matter for a
// benchmark.
Expand Down

0 comments on commit 8085d07

Please sign in to comment.