mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-31 05:07:12 +00:00
Update blob_delay_ms to track data columns seen (#9024)
* #7477 Use the last seen data column as the time for `blob_delay_ms`, the metric name remains unchanged Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com> Co-Authored-By: Tan Chee Keong <tanck@sigmaprime.io> Co-Authored-By: Tan Chee Keong <tanck2005@gmail.com>
This commit is contained in:
@@ -282,8 +282,11 @@ impl<E: EthSpec> PendingComponents<E> {
|
||||
.flatten()
|
||||
.map(|blob| blob.seen_timestamp())
|
||||
.max(),
|
||||
// TODO(das): To be fixed with https://github.com/sigp/lighthouse/pull/6850
|
||||
AvailableBlockData::DataColumns(_) => None,
|
||||
AvailableBlockData::DataColumns(_) => self
|
||||
.verified_data_columns
|
||||
.iter()
|
||||
.map(|data_column| data_column.seen_timestamp())
|
||||
.max(),
|
||||
};
|
||||
|
||||
let AvailabilityPendingExecutedBlock {
|
||||
|
||||
Reference in New Issue
Block a user