Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKitsune committed Nov 7, 2023
1 parent 4b4c649 commit c506c56
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions crates/tree_availability/src/world_tree/tree_updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,9 @@ impl<M: Middleware> TreeUpdater<M> {
.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;

Expand All @@ -179,14 +178,11 @@ impl<M: Middleware> TreeUpdater<M> {
// @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"
);
Expand Down

0 comments on commit c506c56

Please sign in to comment.