Skip to content

Commit

Permalink
remove ParachainHost_check_validation_outputs call (#2163)
Browse files Browse the repository at this point in the history
Signed-off-by: turuslan <[email protected]>
  • Loading branch information
turuslan authored Aug 1, 2024
1 parent 0c912ae commit 43661c3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions core/parachain/pvf/pvf_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,19 +372,6 @@ namespace kagome::parachain {
if (commitments_hash != receipt.commitments_hash) {
return PvfError::COMMITMENTS_HASH;
}
OUTCOME_TRY(valid,
parachain_api_->check_validation_outputs(
receipt.descriptor.relay_parent,
receipt.descriptor.para_id,
commitments));
if (!valid) {
SL_VERBOSE(log_,
"fromOutputs relay_parent={} para_id={}: invalid "
"(check_validation_outputs)",
receipt.descriptor.relay_parent,
receipt.descriptor.para_id);
return PvfError::OUTPUTS;
}
return commitments;
}
} // namespace kagome::parachain

0 comments on commit 43661c3

Please sign in to comment.