From 37b5aec264a84969b2563a19f1088b420ad07932 Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Mon, 15 Sep 2025 18:39:36 -0300 Subject: [PATCH] fmt --- common/src/sequencer_client/mod.rs | 8 +++----- integration_tests/src/lib.rs | 5 ++++- nssa/src/lib.rs | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common/src/sequencer_client/mod.rs b/common/src/sequencer_client/mod.rs index 3e29156..d61b79d 100644 --- a/common/src/sequencer_client/mod.rs +++ b/common/src/sequencer_client/mod.rs @@ -8,8 +8,8 @@ use reqwest::Client; use serde_json::Value; use crate::rpc_primitives::requests::{ - GetAccountRequest, GetAccountResponse, GetAccountsNoncesRequest, - GetAccountsNoncesResponse, GetTransactionByHashRequest, GetTransactionByHashResponse, + GetAccountRequest, GetAccountResponse, GetAccountsNoncesRequest, GetAccountsNoncesResponse, + GetTransactionByHashRequest, GetTransactionByHashResponse, }; use crate::sequencer_client::json::AccountInitialData; use crate::{SequencerClientError, SequencerRpcError}; @@ -116,9 +116,7 @@ impl SequencerClient { let req = serde_json::to_value(block_req)?; - let resp = self - .call_method_with_payload("get_account", req) - .await?; + let resp = self.call_method_with_payload("get_account", req).await?; let resp_deser = serde_json::from_value(resp)?; diff --git a/integration_tests/src/lib.rs b/integration_tests/src/lib.rs index edf7d9f..5c14ea2 100644 --- a/integration_tests/src/lib.rs +++ b/integration_tests/src/lib.rs @@ -294,7 +294,10 @@ pub async fn test_get_account_wallet_command() { .unwrap() .account; - assert_eq!(account.program_owner, Program::authenticated_transfer_program().id()); + assert_eq!( + account.program_owner, + Program::authenticated_transfer_program().id() + ); assert_eq!(account.balance, 10000); assert!(account.data.is_empty()); assert_eq!(account.nonce, 0); diff --git a/nssa/src/lib.rs b/nssa/src/lib.rs index 387a82d..25a9368 100644 --- a/nssa/src/lib.rs +++ b/nssa/src/lib.rs @@ -7,8 +7,8 @@ pub mod public_transaction; mod signature; mod state; -pub use nssa_core::account::Account; pub use address::Address; +pub use nssa_core::account::Account; pub use privacy_preserving_transaction::{ PrivacyPreservingTransaction, circuit::execute_and_prove, };