Skip to content

Commit 031e868

Browse files
committed
remove verbose logging
1 parent 6ee8b77 commit 031e868

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/tasks/block/sim.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,16 @@ impl Simulator {
198198
pub fn calculate_deadline(&self) -> Instant {
199199
// Get the current timepoint within the slot.
200200
let timepoint = self.slot_calculator().current_timepoint_within_slot();
201-
trace!(timepoint, "current timepoint within slot");
202201

203202
// We have the timepoint in seconds into the slot. To find out what's
204203
// remaining, we need to subtract it from the slot duration
205204
let remaining = self.slot_calculator().slot_duration() - timepoint;
206-
trace!(remaining, "time remaining in slot");
207205

208206
// We add a 1500 ms buffer to account for sequencer stopping signing.
209207
let deadline =
210208
Instant::now() + Duration::from_secs(remaining) - Duration::from_millis(1500);
211-
trace!(?deadline, "calculated deadline for block simulation");
212209

213210
let buffered_deadline = deadline.max(Instant::now());
214-
trace!(?buffered_deadline, "final deadline for block simulation");
215211

216212
buffered_deadline
217213
}

0 commit comments

Comments
 (0)