Skip to content

Conversation

Sajjon
Copy link
Contributor

@Sajjon Sajjon commented Oct 3, 2025

When collations expire we do not log the candidate_hash nor the pov_hash making it hard to map the logged entries about Candidate generated and Candidate expired together.

Changes

I've added pov_hash and candidate_hash to the CollationStats struct and logging these fields when we log "Collation expired"

Compatability

I'm unsure of the label to use. CollationStats is only pub(crate) and we only create them in the place I used, the constructor is only used in one place, the place where I changed.

(Matrix thread)

@Sajjon Sajjon requested review from alexggh and sandreim October 3, 2025 14:20
@Sajjon Sajjon added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-no-crate-publish-required The change does not require any crates to be re-published.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants