Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit 6fe2516

Browse files
committed
cleanup
1 parent aa798aa commit 6fe2516

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

crates/orchestrator/src/discovery/monitor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use crate::models::node::NodeStatus;
33
use crate::models::node::OrchestratorNode;
44
use crate::plugins::StatusUpdatePlugin;
55
use crate::store::core::StoreContext;
6+
use crate::store::NodeStore;
67
use crate::utils::loop_heartbeats::LoopHeartbeats;
78
use alloy::primitives::Address;
89
use alloy::primitives::U256;
@@ -448,8 +449,6 @@ impl DiscoveryMonitor {
448449
}
449450
}
450451

451-
use crate::store::NodeStore;
452-
453452
async fn enrich_nodes_without_location(
454453
node_store: Arc<NodeStore>,
455454
location_service: LocationService,

crates/validator/src/validator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl ValidatorHealth {
4141
}
4242

4343
pub struct Validator {
44-
synthetic_validator: Option<SyntheticDataValidator<WalletProvider>>, // TOOD: does this need to be optional?
44+
synthetic_validator: Option<SyntheticDataValidator<WalletProvider>>, // TODO: does this need to be optional?
4545
provider: WalletProvider,
4646
contracts: Contracts<WalletProvider>,
4747
hardware_validator: HardwareValidator,

crates/worker/src/cli/command.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,8 +865,6 @@ pub async fn execute_command(
865865
std::process::exit(1);
866866
}
867867

868-
// discovery_updater.start_auto_update(node_config);
869-
870868
if recover_last_state {
871869
info!("Recovering from previous state: {recover_last_state}");
872870
heartbeat.activate_heartbeat_if_endpoint_exists().await;

0 commit comments

Comments
 (0)