Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Oct 16, 2024
1 parent 68fb7bd commit c016661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lighthouse/tests/validator_client.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use validator_client::{
config::DEFAULT_WEB3SIGNER_KEEP_ALIVE, ApiTopic, BeaconNodeSyncDistanceTiers, Config,
};
use validator_client::{config::DEFAULT_WEB3SIGNER_KEEP_ALIVE, ApiTopic, Config};

use crate::exec::CommandLineTestExec;
use bls::{Keypair, PublicKeyBytes};
Expand Down
2 changes: 1 addition & 1 deletion validator_client/src/beacon_node_health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ mod tests {
// medium 9..=12
// large: 13..

let distance_tiers = BeaconNodeSyncDistanceTiers::from_vec(&vec![4, 4, 4]).unwrap();
let distance_tiers = BeaconNodeSyncDistanceTiers::from_vec(&[4, 4, 4]).unwrap();

let synced_low = new_distance_tier(0, &distance_tiers);
let synced_high = new_distance_tier(4, &distance_tiers);
Expand Down

0 comments on commit c016661

Please sign in to comment.