pub fn validate_commitments(
constraints: &Constraints,
relay_parent: &RelayChainBlockInfo,
commitments: &CandidateCommitments,
validation_code_hash: &ValidationCodeHash,
) -> Result<(), FragmentValidityError>
Expand description
Validates if the candidate commitments are obeying the constraints.