diff --git a/crates/subspace-farmer/src/single_disk_farm.rs b/crates/subspace-farmer/src/single_disk_farm.rs index fecee3ffca..130fa73c3d 100644 --- a/crates/subspace-farmer/src/single_disk_farm.rs +++ b/crates/subspace-farmer/src/single_disk_farm.rs @@ -899,6 +899,7 @@ impl SingleDiskFarm { erasure_coding, handlers, modifying_sector_index, + target_sector_count, sectors_to_plot_receiver, ) .await diff --git a/crates/subspace-farmer/src/single_disk_farm/plotting.rs b/crates/subspace-farmer/src/single_disk_farm/plotting.rs index 011b964f04..a60488bd23 100644 --- a/crates/subspace-farmer/src/single_disk_farm/plotting.rs +++ b/crates/subspace-farmer/src/single_disk_farm/plotting.rs @@ -94,6 +94,7 @@ pub(super) async fn plotting( erasure_coding: ErasureCoding, handlers: Arc, modifying_sector_index: Arc>>, + target_sector_count: u16, mut sectors_to_plot: mpsc::Receiver<(SectorIndex, oneshot::Sender<()>)>, ) -> Result<(), PlottingError> where @@ -225,7 +226,11 @@ where if maybe_old_plotted_sector.is_some() { info!(%sector_index, "Sector replotted successfully"); } else { - info!(%sector_index, "Sector plotted successfully"); + info!( + %sector_index, + "Sector plotted successfully ({:.2}%)", + (sector_index + 1) as f32 / target_sector_count as f32 * 100.0 + ); } handlers