From dbb186dbadc7b5e73018bdd241ebd4cca599f7e7 Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Thu, 2 Nov 2023 21:40:29 +0100
Subject: [PATCH] fix runtime-benchmarks feature for testing

---
 pallets/distance/Cargo.toml    | 2 +-
 pallets/duniter-wot/Cargo.toml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pallets/distance/Cargo.toml b/pallets/distance/Cargo.toml
index 5a04dab80..9e2f557a5 100644
--- a/pallets/distance/Cargo.toml
+++ b/pallets/distance/Cargo.toml
@@ -12,7 +12,7 @@ version = '1.0.0'
 [features]
 default = ['std']
 runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks",
-"pallet-balances",
+"pallet-balances", "pallet-identity/runtime-benchmarks",
 ]
 std = [
     'codec/std',
diff --git a/pallets/duniter-wot/Cargo.toml b/pallets/duniter-wot/Cargo.toml
index e86400ac1..403af9bce 100644
--- a/pallets/duniter-wot/Cargo.toml
+++ b/pallets/duniter-wot/Cargo.toml
@@ -11,7 +11,7 @@ version = '3.0.0'
 
 [features]
 default = ['std']
-runtime-benchmarks = ['frame-benchmarking']
+runtime-benchmarks = ['frame-benchmarking', 'pallet-membership/runtime-benchmarks', 'pallet-identity/runtime-benchmarks']
 std = [
     'codec/std',
     'frame-support/std',
-- 
GitLab