Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
tests still fail
  • Loading branch information
dcbuild3r committed Oct 11, 2023
1 parent ba58636 commit c8856aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/contracts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ impl IdentityManager {
pub async fn delete_identities(
&self,
deletion_proof: Proof,
batch_size: u32,
packed_deletion_indices: Vec<u8>,
pre_root: U256,
post_root: U256,
Expand Down
8 changes: 1 addition & 7 deletions src/task_monitor/tasks/process_identities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,13 +548,7 @@ pub async fn delete_identities(
// With all the data prepared we can submit the identities to the on-chain
// identity manager and wait for that transaction to be mined.
let transaction_id = identity_manager
.delete_identities(
proof,
batch_size as u32,
packed_deletion_indices,
pre_root,
post_root,
)
.delete_identities(proof, packed_deletion_indices, pre_root, post_root)
.await
.map_err(|e| {
error!(?e, "Failed to insert identity to contract.");
Expand Down
5 changes: 5 additions & 0 deletions tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,11 @@ pub async fn test_inclusion_status(
.expect("Failed to convert response body to bytes");
let result = String::from_utf8(bytes.into_iter().collect())
.expect("Could not parse response bytes to utf-8");
println!(
"########################################################## \n
result: {:?}",
result
);
let result_json = serde_json::from_str::<serde_json::Value>(&result)
.expect("Failed to parse response as json");
let status = result_json["status"]
Expand Down

0 comments on commit c8856aa

Please sign in to comment.