Skip to content
Snippets Groups Projects
Commit e918c94e authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

fix benchmarks for renaming

parent ba4f3452
Branches
Tags
No related merge requests found
......@@ -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)),
);
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment