From eabef1d5235eb28ad83910a64b8c48ff0b388542 Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Fri, 21 Nov 2025 09:37:09 +0200 Subject: [PATCH] fix: test fix --- integration_tests/src/test_suite_map.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/integration_tests/src/test_suite_map.rs b/integration_tests/src/test_suite_map.rs index affefc1..f51874a 100644 --- a/integration_tests/src/test_suite_map.rs +++ b/integration_tests/src/test_suite_map.rs @@ -1185,10 +1185,21 @@ pub fn prepare_function_map() -> HashMap { tokio::time::sleep(Duration::from_secs(TIME_TO_WAIT_FOR_BLOCK_SECONDS)).await; tokio::time::sleep(Duration::from_secs(TIME_TO_WAIT_FOR_BLOCK_SECONDS)).await; + let wallet_config = fetch_config().await.unwrap(); let wallet_storage = WalletCore::start_from_config_update_chain(wallet_config) .await .unwrap(); + info!("All private accounts data"); + for (addr, (_, acc)) in &wallet_storage.storage.user_data.user_private_accounts { + info!("{addr} :: {acc:#?}"); + } + + let new_commitment1 = wallet_storage + .get_private_account_commitment(&from) + .unwrap(); + 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() { assert!(verify_commitment_is_in_state(commitment, &seq_client).await);