Skip to content

Commit

Permalink
fix(relay): missing BenchmarkHelper for pallet_mmr
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Oct 21, 2024
1 parent 457dab3 commit f2a3fce
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -383,6 +383,8 @@ impl pallet_mmr::Config for Runtime {
type WeightInfo = ();
type LeafData = pallet_beefy_mmr::Pallet<Runtime>;
type BlockHashProvider = pallet_mmr::DefaultBlockHashProvider<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
}

/// MMR helper types.
Expand Down
2 changes: 2 additions & 0 deletions relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ impl pallet_mmr::Config for Runtime {
type WeightInfo = ();
type LeafData = pallet_beefy_mmr::Pallet<Runtime>;
type BlockHashProvider = pallet_mmr::DefaultBlockHashProvider<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
}

/// MMR helper types.
Expand Down

0 comments on commit f2a3fce

Please sign in to comment.