Skip to content

Commit

Permalink
Fix benchmarks compilation for 1.11 (#341)
Browse files Browse the repository at this point in the history
<!-- Remember that you can run `/merge` to enable auto-merge in the PR
-->

<!-- Remember to modify the changelog. If you don't need to modify it,
you can check the following box.
Instead, if you have already modified it, simply delete the following
line. -->

- [X] Does not require a CHANGELOG entry
  • Loading branch information
bkontur authored Jun 5, 2024
1 parent 8ec28f9 commit be9a7cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,8 @@ impl pallet_nis::Config for Runtime {
type MaxIntakeWeight = MaxIntakeWeight;
type ThawThrottle = ThawThrottle;
type RuntimeHoldReason = RuntimeHoldReason;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkSetup = ();
}

parameter_types! {
Expand Down

0 comments on commit be9a7cc

Please sign in to comment.