From 404599eaf1f81d4370bf5c2a83b1ebe356cb3b39 Mon Sep 17 00:00:00 2001 From: Alon-Lukatch-Starkware Date: Mon, 18 Nov 2024 14:35:26 +0200 Subject: [PATCH] chore: remove unsused EmptyMempoolP2pPropagatorClient (#2117) --- .../src/propagator/mod.rs | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/crates/starknet_mempool_p2p/src/propagator/mod.rs b/crates/starknet_mempool_p2p/src/propagator/mod.rs index 6675ab44cd..dc896fc614 100644 --- a/crates/starknet_mempool_p2p/src/propagator/mod.rs +++ b/crates/starknet_mempool_p2p/src/propagator/mod.rs @@ -3,12 +3,8 @@ mod test; use async_trait::async_trait; use papyrus_network::network_manager::{BroadcastTopicClient, BroadcastTopicClientTrait}; -use papyrus_network_types::network_types::BroadcastedMessageMetadata; use papyrus_protobuf::mempool::RpcTransactionWrapper; -use starknet_api::rpc_transaction::RpcTransaction; use starknet_mempool_p2p_types::communication::{ - MempoolP2pPropagatorClient, - MempoolP2pPropagatorClientResult, MempoolP2pPropagatorRequest, MempoolP2pPropagatorResponse, }; @@ -55,25 +51,6 @@ impl ComponentRequestHandler MempoolP2pPropagatorClientResult<()> { - Ok(()) - } - - async fn continue_propagation( - &self, - _propagation_manager: BroadcastedMessageMetadata, - ) -> MempoolP2pPropagatorClientResult<()> { - Ok(()) - } -} - pub type LocalMempoolP2pPropagatorServer = LocalComponentServer< MempoolP2pPropagator, MempoolP2pPropagatorRequest,