Skip to content

Commit ab51f57

Browse files
committed
Fix imports
1 parent 2bb94c8 commit ab51f57

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

beacon_node/network/src/sync/block_sidecar_coupling.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use lighthouse_network::{
88
},
99
};
1010
use std::{collections::HashMap, sync::Arc};
11-
use tracing::Span;
11+
use tracing::{Span, debug};
1212
use types::{
1313
BlobSidecar, ChainSpec, ColumnIndex, DataColumnSidecar, DataColumnSidecarList, EthSpec,
1414
Hash256, RuntimeVariableList, SignedBeaconBlock,
@@ -323,7 +323,7 @@ impl<E: EthSpec> RangeBlockComponentsRequest<E> {
323323
// if accumulated sidecars is not empty, log an error but return the responses
324324
// as we can still make progress.
325325
if blob_iter.next().is_some() {
326-
tracing::debug!(
326+
debug!(
327327
remaining_blobs=?blob_iter.collect::<Vec<_>>(),
328328
"Received sidecars that don't pair well",
329329
);

lighthouse/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use std::path::PathBuf;
2828
use std::process::exit;
2929
use std::sync::LazyLock;
3030
use task_executor::ShutdownReason;
31-
use tracing::{Level, info, warn};
31+
use tracing::{Level, info};
3232
use tracing_subscriber::{Layer, filter::EnvFilter, layer::SubscriberExt, util::SubscriberInitExt};
3333
use types::{EthSpec, EthSpecId};
3434
use validator_client::ProductionValidatorClient;
@@ -730,6 +730,7 @@ fn run<E: EthSpec>(
730730

731731
#[cfg(all(feature = "modern", target_arch = "x86_64"))]
732732
if !std::is_x86_feature_detected!("adx") {
733+
use tracing::warn;
733734
warn!(
734735
advice = "If you get a SIGILL, please try Lighthouse portable build",
735736
"CPU seems incompatible with optimized Lighthouse build"

0 commit comments

Comments
 (0)