From 41bdac4a77844b57542e2260ee169db0c32f941b Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Wed, 15 Nov 2023 14:20:42 +0100
Subject: [PATCH] fix after merge

---
 Cargo.lock                   | 2 +-
 pallets/distance/src/mock.rs | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index f4dd50f81..39852d445 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5773,7 +5773,7 @@ dependencies = [
  "frame-benchmarking",
  "frame-support",
  "frame-system",
- "getrandom 0.2.10",
+ "getrandom 0.2.8",
  "pallet-authority-members",
  "pallet-authorship",
  "pallet-balances",
diff --git a/pallets/distance/src/mock.rs b/pallets/distance/src/mock.rs
index b998f7691..977c4228c 100644
--- a/pallets/distance/src/mock.rs
+++ b/pallets/distance/src/mock.rs
@@ -236,13 +236,12 @@ impl pallet_identity::Config for Test {
     type IdtyData = ();
     type IdtyNameValidator = IdtyNameValidatorTestImpl;
     type IdtyIndex = u32;
+    type AccountLinker = ();
     type IdtyRemovalOtherReason = ();
-    type NewOwnerKeySigner = UintAuthorityId;
-    type NewOwnerKeySignature = TestSignature;
+    type Signer = UintAuthorityId;
+    type Signature = TestSignature;
     type OnIdtyChange = ();
     type RemoveIdentityConsumers = ();
-    type RevocationSigner = UintAuthorityId;
-    type RevocationSignature = TestSignature;
     type RuntimeEvent = RuntimeEvent;
     type WeightInfo = ();
     #[cfg(feature = "runtime-benchmarks")]
-- 
GitLab