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

fix compilation with runtime-benchmarks feature

parent 2ab81a65
No related branches found
No related tags found
No related merge requests found
...@@ -162,6 +162,8 @@ impl pallet_identity::Config for Test { ...@@ -162,6 +162,8 @@ impl pallet_identity::Config for Test {
type RemoveIdentityConsumers = (); type RemoveIdentityConsumers = ();
type RuntimeEvent = RuntimeEvent; type RuntimeEvent = RuntimeEvent;
type WeightInfo = (); type WeightInfo = ();
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkSetupHandler = ();
} }
// Build genesis storage according to the mock runtime. // Build genesis storage according to the mock runtime.
......
...@@ -27,8 +27,10 @@ runtime-benchmarks = [ ...@@ -27,8 +27,10 @@ runtime-benchmarks = [
'pallet-balances/runtime-benchmarks', 'pallet-balances/runtime-benchmarks',
'pallet-certification/runtime-benchmarks', 'pallet-certification/runtime-benchmarks',
'pallet-collective/runtime-benchmarks', 'pallet-collective/runtime-benchmarks',
'pallet-distance/runtime-benchmarks',
'pallet-duniter-test-parameters/runtime-benchmarks', 'pallet-duniter-test-parameters/runtime-benchmarks',
'pallet-duniter-account/runtime-benchmarks', 'pallet-duniter-account/runtime-benchmarks',
'pallet-quota/runtime-benchmarks',
'pallet-duniter-wot/runtime-benchmarks', 'pallet-duniter-wot/runtime-benchmarks',
'pallet-grandpa/runtime-benchmarks', 'pallet-grandpa/runtime-benchmarks',
'pallet-identity/runtime-benchmarks', 'pallet-identity/runtime-benchmarks',
......
...@@ -27,6 +27,7 @@ runtime-benchmarks = [ ...@@ -27,6 +27,7 @@ runtime-benchmarks = [
'pallet-balances/runtime-benchmarks', 'pallet-balances/runtime-benchmarks',
'pallet-certification/runtime-benchmarks', 'pallet-certification/runtime-benchmarks',
'pallet-collective/runtime-benchmarks', 'pallet-collective/runtime-benchmarks',
'pallet-distance/runtime-benchmarks',
'pallet-duniter-account/runtime-benchmarks', 'pallet-duniter-account/runtime-benchmarks',
'pallet-duniter-wot/runtime-benchmarks', 'pallet-duniter-wot/runtime-benchmarks',
'pallet-grandpa/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