diff --git a/runtime/common/src/providers.rs b/runtime/common/src/providers.rs index 1518c1060e265e01dd49ba6a02e1b1418405a93a..d506269df6a8d444351dcbdd29591cef9543906b 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 c465ff75c9a98a16d419ff53461e8baa8fb9746e..d03a902097cb9b06c6dc5aa0c21eea50f4ffd12d 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,