Skip to content
Snippets Groups Projects
Unverified Commit c30f6f9e authored by bgallois's avatar bgallois
Browse files

fix compilation with runtime-benchmarks flag

parent 9d0dea1c
No related branches found
No related tags found
No related merge requests found
Pipeline #34514 passed
......@@ -162,6 +162,8 @@ impl pallet_identity::Config for Test {
type RemoveIdentityConsumers = ();
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkSetupHandler = ();
}
// Build genesis storage according to the mock runtime.
......
......@@ -27,8 +27,10 @@ runtime-benchmarks = [
'pallet-balances/runtime-benchmarks',
'pallet-certification/runtime-benchmarks',
'pallet-collective/runtime-benchmarks',
'pallet-distance/runtime-benchmarks',
'pallet-duniter-test-parameters/runtime-benchmarks',
'pallet-duniter-account/runtime-benchmarks',
'pallet-quota/runtime-benchmarks',
'pallet-duniter-wot/runtime-benchmarks',
'pallet-grandpa/runtime-benchmarks',
'pallet-identity/runtime-benchmarks',
......
......@@ -27,6 +27,7 @@ runtime-benchmarks = [
'pallet-balances/runtime-benchmarks',
'pallet-certification/runtime-benchmarks',
'pallet-collective/runtime-benchmarks',
'pallet-distance/runtime-benchmarks',
'pallet-duniter-account/runtime-benchmarks',
'pallet-duniter-wot/runtime-benchmarks',
'pallet-grandpa/runtime-benchmarks',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment