File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -198,20 +198,16 @@ impl Simulator {
198
198
pub fn calculate_deadline ( & self ) -> Instant {
199
199
// Get the current timepoint within the slot.
200
200
let timepoint = self . slot_calculator ( ) . current_timepoint_within_slot ( ) ;
201
- trace ! ( timepoint, "current timepoint within slot" ) ;
202
201
203
202
// We have the timepoint in seconds into the slot. To find out what's
204
203
// remaining, we need to subtract it from the slot duration
205
204
let remaining = self . slot_calculator ( ) . slot_duration ( ) - timepoint;
206
- trace ! ( remaining, "time remaining in slot" ) ;
207
205
208
206
// We add a 1500 ms buffer to account for sequencer stopping signing.
209
207
let deadline =
210
208
Instant :: now ( ) + Duration :: from_secs ( remaining) - Duration :: from_millis ( 1500 ) ;
211
- trace ! ( ?deadline, "calculated deadline for block simulation" ) ;
212
209
213
210
let buffered_deadline = deadline. max ( Instant :: now ( ) ) ;
214
- trace ! ( ?buffered_deadline, "final deadline for block simulation" ) ;
215
211
216
212
buffered_deadline
217
213
}
You can’t perform that action at this time.
0 commit comments