add para_id to fetch_pov logging (#6084)

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
This commit is contained in:
Andrei Sandu
2022-09-30 11:56:45 +03:00
committed by GitHub
parent 260f70e39e
commit 372e6a95f3
4 changed files with 28 additions and 6 deletions
@@ -430,6 +430,10 @@ pub enum AvailabilityDistributionMessage {
relay_parent: Hash,
/// Validator to fetch the PoV from.
from_validator: ValidatorIndex,
/// The id of the parachain that produced this PoV.
/// This field is only used to provide more context when logging errors
/// from the `AvailabilityDistribution` subsystem.
para_id: ParaId,
/// Candidate hash to fetch the PoV for.
candidate_hash: CandidateHash,
/// Expected hash of the PoV, a PoV not matching this hash will be rejected.