Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions crates/apollo_p2p_sync/src/client/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ pub struct TestArgs {
pub storage_reader: StorageReader,
pub mock_header_response_manager: GenericReceiver<HeaderTestPayload>,
pub mock_state_diff_response_manager: GenericReceiver<StateDiffTestPayload>,
#[allow(dead_code)]
pub mock_transaction_response_manager: GenericReceiver<TransactionTestPayload>,
#[allow(dead_code)]
pub mock_class_response_manager: GenericReceiver<ClassTestPayload>,
}

Expand Down Expand Up @@ -137,10 +135,8 @@ pub fn setup() -> TestArgs {
#[derive(Eq, PartialEq, Hash)]
pub enum DataType {
Header,
#[allow(dead_code)]
Transaction,
StateDiff,
#[allow(dead_code)]
Class,
}

Expand All @@ -167,7 +163,6 @@ pub enum Action {
/// Check that a report was sent on the current header query.
ValidateReportSent(DataType),
/// Sends an internal block to the sync.
#[allow(dead_code)]
SendInternalBlock(SyncBlock),
/// Sleep for SLEEP_DURATION_TO_LET_SYNC_ADVANCE duration.
SleepToLetSyncAdvance,
Expand Down
Loading