From c4c2eb4999f417e26962d651ff0869017a432018 Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Fri, 7 Jun 2024 06:42:19 -0600 Subject: [PATCH] chore(logs): add epochStartHeight and epochIndex to report sink logs --- src/store/pipeline-report-sink.ts | 1 + src/store/turbo-report-sink.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/store/pipeline-report-sink.ts b/src/store/pipeline-report-sink.ts index 8b94bb1..9ec5c17 100644 --- a/src/store/pipeline-report-sink.ts +++ b/src/store/pipeline-report-sink.ts @@ -45,6 +45,7 @@ export class PipelineReportSink implements ReportSink { const log = this.log.child({ epochStartTimestamp: report.epochStartTimestamp, epochIndex: report.epochIndex, + epochStartHeight: report.epochStartHeight, }); log.info('Saving report...'); diff --git a/src/store/turbo-report-sink.ts b/src/store/turbo-report-sink.ts index 34f8bf0..44b0f33 100644 --- a/src/store/turbo-report-sink.ts +++ b/src/store/turbo-report-sink.ts @@ -102,6 +102,8 @@ export class TurboReportSink implements ReportSink { const { report } = reportInfo; const log = this.log.child({ epochStartTimestamp: report.epochStartTimestamp, + epochIndex: report.epochIndex, + epochStartHeight: report.epochStartHeight, }); // Return existing TX ID if the report was already saved