diff --git a/crates/mempool_infra/tests/common/mod.rs b/crates/mempool_infra/tests/common/mod.rs index 442cde9e..2efe4958 100644 --- a/crates/mempool_infra/tests/common/mod.rs +++ b/crates/mempool_infra/tests/common/mod.rs @@ -3,6 +3,8 @@ use async_trait::async_trait; type ValueA = u32; type ValueB = u8; +// TODO(Tsabary): add more messages / functions to the components. + #[async_trait] pub(crate) trait ComponentATrait: Send + Sync { async fn a_get_value(&self) -> ValueA; diff --git a/crates/mempool_infra/tests/component_server_client_test.rs b/crates/mempool_infra/tests/component_server_client_test.rs index ce42aea6..276eb0bb 100644 --- a/crates/mempool_infra/tests/component_server_client_test.rs +++ b/crates/mempool_infra/tests/component_server_client_test.rs @@ -32,16 +32,12 @@ impl ComponentA { } } -// todo find which of these derives is needed -// todo add more messages -// todo send messages from b to a +// TODO(Tsabary): send messages from component b to component a. -#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub enum ComponentARequest { AGetValue, } -#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub enum ComponentAResponse { Value(ValueA), }