From 77fb02aeeadfc1b37d5c03a1a3eb33dfea2755b3 Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Tue, 14 Jan 2025 10:48:01 -0500 Subject: [PATCH] fmt --- crates/katana/rpc/rpc/tests/starknet.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/crates/katana/rpc/rpc/tests/starknet.rs b/crates/katana/rpc/rpc/tests/starknet.rs index 9740ff7d73..0dce2e039a 100644 --- a/crates/katana/rpc/rpc/tests/starknet.rs +++ b/crates/katana/rpc/rpc/tests/starknet.rs @@ -61,12 +61,10 @@ async fn declare_and_deploy_contract() -> Result<()> { let state_update = provider.get_state_update(BlockId::Tag(BlockTag::Latest)).await?; match state_update { MaybePendingStateUpdate::Update(update) => { - assert!(update - .state_diff - .declared_classes - .iter() - .any(|item| item.class_hash == class_hash - && item.compiled_class_hash == compiled_class_hash)); + assert!( + update.state_diff.declared_classes.iter().any(|item| item.class_hash == class_hash + && item.compiled_class_hash == compiled_class_hash) + ); } _ => panic!("Expected Update, got PendingUpdate"), }