diff --git a/crates/tree_availability/src/world_tree/tree_updater.rs b/crates/tree_availability/src/world_tree/tree_updater.rs index 34b21840..c04f1e89 100644 --- a/crates/tree_availability/src/world_tree/tree_updater.rs +++ b/crates/tree_availability/src/world_tree/tree_updater.rs @@ -165,10 +165,9 @@ impl TreeUpdater { .map(|x| x as usize) .collect(); - - metrics::increment_counter!( - "tree_availability.tree_updater.deletion" - ); + metrics::increment_counter!( + "tree_availability.tree_updater.deletion" + ); tree_data.delete_many(&indices).await; @@ -179,14 +178,11 @@ impl TreeUpdater { // @dev This is a type that is generated by abigen!() since there is a function defined with a conflicting function name but different params let delete_identities_call = DeleteIdentitiesWithDeletionProofAndBatchSizeAndPackedDeletionIndicesAndPreRootCall::decode(calldata.as_ref())?; - - let indices= unpack_indices( delete_identities_call.packed_deletion_indices.as_ref(), ); - metrics::increment_counter!( "tree_availability.tree_updater.deletion" );