Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
janezpodhostnik committed Sep 4, 2024
1 parent af81d94 commit 2464067
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/execution/computation/metrics/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ func newProvider(
}
}

// Push buffers the metrics for the given height.
// The call should ensure height are called in strictly increasing order, otherwise
// metrics for the skipped height will not buffered.
func (p *provider) Push(
height uint64,
data []TransactionExecutionMetrics,
Expand Down

0 comments on commit 2464067

Please sign in to comment.