Records when the winner is declared, acts as a proxy to the time at which we call `/settle` on solvers. Additionally it records more metrics around `/settle` see [`Metrics::record_settle_block_metrics`] for details.
(start_block: BlockInfo, current_block: &CurrentBlockWatcher)
| 1101 | /// metrics around `/settle` see [`Metrics::record_settle_block_metrics`] |
| 1102 | /// for details. |
| 1103 | fn winner_declared(start_block: BlockInfo, current_block: &CurrentBlockWatcher) { |
| 1104 | let elapsed = start_block.observed_at.elapsed(); |
| 1105 | Self::get().winner_declared.observe(elapsed.as_secs_f64()); |
| 1106 | |
| 1107 | Self::record_settle_block_metrics(start_block, current_block); |
| 1108 | } |
| 1109 | |
| 1110 | fn auction_ready(init_block_timestamp: Instant) { |
| 1111 | Self::get() |