Skip to content

Commit

Permalink
test(HeadEventHandler): add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PJColombo committed Jun 18, 2024
1 parent bd1b1da commit e4febf9
Show file tree
Hide file tree
Showing 3 changed files with 568 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/clients/beacon/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};

use crate::slots_processor::BlockData;

#[derive(Serialize, Debug, Clone)]
#[derive(Serialize, Debug, Clone, PartialEq)]
pub enum BlockId {
Head,
Finalized,
Expand Down
2 changes: 1 addition & 1 deletion src/clients/blobscan/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub struct BlockchainSyncStateResponse {
pub last_upper_synced_slot: Option<u32>,
}

#[derive(Debug)]
#[derive(Debug, PartialEq)]
pub struct BlockchainSyncState {
pub last_finalized_block: Option<u32>,
pub last_lower_synced_slot: Option<u32>,
Expand Down
Loading

0 comments on commit e4febf9

Please sign in to comment.