diff --git a/pallets/quota/src/mock.rs b/pallets/quota/src/mock.rs
index 17b825fc4e12e0a2a707c69577a0d1f922d81ed0..266f31a086cb29c8f41e06bca88adbd86ba8e082 100644
--- a/pallets/quota/src/mock.rs
+++ b/pallets/quota/src/mock.rs
@@ -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.
diff --git a/runtime/g1/Cargo.toml b/runtime/g1/Cargo.toml
index db9a2377a93705a898a7bb07f66033a6c671a146..e96b7a0843152daba2cc0b0414dda1942e52494e 100644
--- a/runtime/g1/Cargo.toml
+++ b/runtime/g1/Cargo.toml
@@ -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',
diff --git a/runtime/gtest/Cargo.toml b/runtime/gtest/Cargo.toml
index 1fcac625272450171cee4ae1e31cb801bbcb3fc4..8f59a6ad6a39b54c0c0ca276e78ef76b5b346eb6 100644
--- a/runtime/gtest/Cargo.toml
+++ b/runtime/gtest/Cargo.toml
@@ -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',