From 455bac0430a8366afc95533acea9d36c59077cc0 Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@trentesaux.fr>
Date: Mon, 18 Dec 2023 19:30:27 +0100
Subject: [PATCH] fix benchmarks for renaming

---
 runtime/common/src/providers.rs         | 2 +-
 runtime/gdev/tests/integration_tests.rs | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/runtime/common/src/providers.rs b/runtime/common/src/providers.rs
index 1518c1060..d506269df 100644
--- a/runtime/common/src/providers.rs
+++ b/runtime/common/src/providers.rs
@@ -109,7 +109,7 @@ macro_rules! impl_benchmark_setup_handler {
                 idty_id: &IdtyIndex,
                 account: &<T as frame_system::Config>::AccountId,
             ) -> () {
-                let _ = pallet_distance::Pallet::<T>::set_distance_status(
+                let _ = pallet_distance::Pallet::<T>::do_set_distance_status(
                     *idty_id,
                     Some((account.clone(), pallet_distance::DistanceStatus::Valid)),
                 );
diff --git a/runtime/gdev/tests/integration_tests.rs b/runtime/gdev/tests/integration_tests.rs
index c465ff75c..d03a90209 100644
--- a/runtime/gdev/tests/integration_tests.rs
+++ b/runtime/gdev/tests/integration_tests.rs
@@ -398,7 +398,7 @@ fn test_identity_creation_workflow() {
                 Identity::identity(5),
                 Some(pallet_identity::IdtyValue {
                     data: Default::default(),
-                    next_creatable_identity_on: 0u32.into(),
+                    next_creatable_identity_on: 0u32,
                     old_owner_key: None,
                     owner_key: AccountKeyring::Eve.to_account_id(),
                     next_scheduled: 1 + 40,
@@ -415,7 +415,7 @@ fn test_identity_creation_workflow() {
                 Identity::identity(5),
                 Some(pallet_identity::IdtyValue {
                     data: Default::default(),
-                    next_creatable_identity_on: 0u32.into(),
+                    next_creatable_identity_on: 0u32,
                     old_owner_key: None,
                     owner_key: AccountKeyring::Eve.to_account_id(),
                     next_scheduled: 2 + 876600,
-- 
GitLab