Put parachain head hash into CandidateDescriptor (#2310)

* Put parachain head hash into `CandidateDescriptor`

* Update guide

* Add some checks
This commit is contained in:
Bastian Köcher
2021-01-25 13:56:17 +01:00
committed by GitHub
parent dba39c7515
commit 9563652bf2
6 changed files with 24 additions and 1 deletions
+2
View File
@@ -150,6 +150,8 @@ pub enum InvalidCandidate {
HashMismatch,
/// Bad collator signature.
BadSignature,
/// Para head hash does not match.
ParaHeadHashMismatch,
}
/// Result of the validation of the candidate.