From cd6cb4c6b69fd8042ecf258d2c0236a7ad8875e1 Mon Sep 17 00:00:00 2001 From: Jorge Antonio Date: Tue, 17 Dec 2024 13:11:39 +0000 Subject: [PATCH] resolve tests and removed unnecessary files --- atoma-service/src/tests.rs | 2 ++ atoma-utils/src/lib.rs | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/atoma-service/src/tests.rs b/atoma-service/src/tests.rs index 564235ac..19240243 100644 --- a/atoma-service/src/tests.rs +++ b/atoma-service/src/tests.rs @@ -124,10 +124,12 @@ mod middleware { ) { let (_event_subscriber_sender, event_subscriber_receiver) = flume::unbounded(); let (state_manager_sender, state_manager_receiver) = flume::unbounded(); + let (_p2p_event_sender, p2p_event_receiver) = flume::unbounded(); let state_manager = AtomaStateManager::new_from_url( POSTGRES_TEST_DB_URL, event_subscriber_receiver, state_manager_receiver, + p2p_event_receiver, ) .await .expect("Failed to create state manager"); diff --git a/atoma-utils/src/lib.rs b/atoma-utils/src/lib.rs index feff8439..d3e88405 100644 --- a/atoma-utils/src/lib.rs +++ b/atoma-utils/src/lib.rs @@ -1,9 +1,6 @@ pub mod encryption; -pub mod events; pub mod hashing; -pub use events::AtomaStateManagerEvent; - use anyhow::{Context, Error, Result}; use axum::http::StatusCode; use fastcrypto::{