diff --git a/crates/papyrus_network/src/network_manager/mod.rs b/crates/papyrus_network/src/network_manager/mod.rs index 4c05a60661..fa1d5a8ac6 100644 --- a/crates/papyrus_network/src/network_manager/mod.rs +++ b/crates/papyrus_network/src/network_manager/mod.rs @@ -639,10 +639,10 @@ pub struct SqmrClientPayload> { pub type SqmrClientSender = GenericSender>; -pub struct SqmrServerPayload> { - pub query: Query, +pub struct SqmrServerPayload, Response> { + pub query: Result>::Error>, pub report_sender: ReportSender, - pub responses_sender: ResponsesSender, + pub responses_sender: GenericSender, } // TODO(shahak): Return this type in register_sqmr_protocol_server @@ -681,7 +681,7 @@ where } } -impl> From +impl, Response> From for SqmrServerPayload { fn from(_payload: SqmrServerPayloadForNetwork) -> Self {