From 43661c3de3cf5485deb2329438ece57977628d93 Mon Sep 17 00:00:00 2001 From: Ruslan Tushov Date: Thu, 1 Aug 2024 14:19:35 +0500 Subject: [PATCH] remove ParachainHost_check_validation_outputs call (#2163) Signed-off-by: turuslan --- core/parachain/pvf/pvf_impl.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/parachain/pvf/pvf_impl.cpp b/core/parachain/pvf/pvf_impl.cpp index 1c97841086..9702396834 100644 --- a/core/parachain/pvf/pvf_impl.cpp +++ b/core/parachain/pvf/pvf_impl.cpp @@ -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