From 86bfa20af9c13fdb952dd69b9343842f57d5ea13 Mon Sep 17 00:00:00 2001 From: fryorcraken Date: Tue, 24 Mar 2026 13:01:06 +1100 Subject: [PATCH] revert some changes --- integration_tests/tests/indexer.rs | 1 + integration_tests/tests/keys_restoration.rs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/integration_tests/tests/indexer.rs b/integration_tests/tests/indexer.rs index 5f814e32..147cadec 100644 --- a/integration_tests/tests/indexer.rs +++ b/integration_tests/tests/indexer.rs @@ -1,4 +1,5 @@ #![expect( + clippy::shadow_unrelated, clippy::tests_outside_test_module, reason = "We don't care about these in tests" )] diff --git a/integration_tests/tests/keys_restoration.rs b/integration_tests/tests/keys_restoration.rs index 7b9c3ab6..8dca027c 100644 --- a/integration_tests/tests/keys_restoration.rs +++ b/integration_tests/tests/keys_restoration.rs @@ -4,9 +4,9 @@ reason = "We don't care about these in tests" )] -use std::{str::FromStr, time::Duration}; +use std::{str::FromStr as _, time::Duration}; -use anyhow::{Context, Result}; +use anyhow::{Context as _, Result}; use integration_tests::{ TIME_TO_WAIT_FOR_BLOCK_SECONDS, TestContext, fetch_privacy_preserving_tx, format_private_account_id, format_public_account_id, verify_commitment_is_in_state, @@ -96,7 +96,7 @@ async fn sync_private_account_with_non_zero_chain_index() -> Result<()> { assert_eq!(tx.message.new_commitments[0], new_commitment1); assert_eq!(tx.message.new_commitments.len(), 2); - for commitment in tx.message.new_commitments.into_iter() { + for commitment in tx.message.new_commitments { assert!(verify_commitment_is_in_state(commitment, ctx.sequencer_client()).await); }