Skip to content

Commit

Permalink
chore(logs): add epochStartHeight and epochIndex to report sink logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Jun 7, 2024
1 parent 2cd0e1d commit c4c2eb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/store/pipeline-report-sink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...');
Expand Down
2 changes: 2 additions & 0 deletions src/store/turbo-report-sink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4c2eb4

Please sign in to comment.