diff --git a/Cargo.lock b/Cargo.lock
index f4dd50f8103f48a173fdafef0c8fd3949b2fdc0a..39852d445546e2dfffa15407a385572afd96a84d 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 b998f769181c30c0d1db03a19639671778748d7a..977c4228c063e0a65c460dd95c404eaa04b2edc7 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")]