Skip to content

Commit f813767

Browse files
committed
fmt
1 parent c7f5211 commit f813767

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,14 +595,14 @@ impl<T: BeaconChainTypes> DataAvailabilityCheckerInner<T> {
595595
match descision {
596596
ReconstructColumnsDecision::Yes(_) => {
597597
pending_components.reconstruction_state = ReconstructionState::Started;
598-
debug!(block_root, received_column_count, "Starting reconstruction");
598+
debug!(%block_root, received_column_count, "Starting reconstruction");
599599
}
600600
ReconstructColumnsDecision::Wait => {
601601
pending_components.reconstruction_state = ReconstructionState::WaitingForColumns {
602602
num_last: received_column_count,
603603
};
604604
debug!(
605-
block_root,
605+
%block_root,
606606
received_column_count,
607607
"Waiting for more columns to arrive before reconstruction"
608608
);

beacon_node/beacon_processor/src/work_reprocessing_queue.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,9 @@ impl<S: SlotClock> Stream for ReprocessQueue<S> {
357357

358358
match self.column_reconstructions_delay_queue.poll_expired(cx) {
359359
Poll::Ready(Some(reconstruction)) => {
360-
return Poll::Ready(Some(InboundEvent::ReadyColumnReconstruction(reconstruction.into_inner())));
360+
return Poll::Ready(Some(InboundEvent::ReadyColumnReconstruction(
361+
reconstruction.into_inner(),
362+
)));
361363
}
362364
Poll::Ready(None) | Poll::Pending => (),
363365
}
@@ -967,7 +969,8 @@ impl<S: SlotClock> ReprocessQueue<S> {
967969
InboundEvent::ReadyColumnReconstruction(column_reconstruction) => {
968970
if self
969971
.ready_work_tx
970-
.try_send(ReadyWork::ColumnReconstruction(column_reconstruction)).is_err()
972+
.try_send(ReadyWork::ColumnReconstruction(column_reconstruction))
973+
.is_err()
971974
{
972975
error!(
973976
hint = "system may be overloaded",

beacon_node/network/src/network_beacon_processor/gossip_methods.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,8 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
11731173
"Processed data column, waiting for other components"
11741174
);
11751175

1176-
Arc::clone(self).attempt_data_column_reconstruction(block_root, true)
1176+
Arc::clone(self)
1177+
.attempt_data_column_reconstruction(block_root, true)
11771178
.await;
11781179
}
11791180
},

beacon_node/network/src/network_beacon_processor/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,8 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
970970
}
971971
Ok(ReconstructionOutcome::Delay) => {
972972
let cloned_self = Arc::clone(&self);
973-
let send_result = self.reprocess_tx
973+
let send_result = self
974+
.reprocess_tx
974975
.send(ReprocessQueueMessage::DelayColumnReconstruction(
975976
QueuedColumnReconstruction(Box::pin(async move {
976977
cloned_self

0 commit comments

Comments
 (0)