From 359e5d7558fdb36818c73ea5b4c1d1c6e2becca1 Mon Sep 17 00:00:00 2001 From: turuslan Date: Tue, 30 Jul 2024 15:10:58 +0500 Subject: [PATCH 1/2] ignore ParachainHost_check_validation_outputs result Signed-off-by: turuslan --- core/parachain/pvf/pvf_impl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/core/parachain/pvf/pvf_impl.cpp b/core/parachain/pvf/pvf_impl.cpp index 1c97841086..2968ca0229 100644 --- a/core/parachain/pvf/pvf_impl.cpp +++ b/core/parachain/pvf/pvf_impl.cpp @@ -383,7 +383,6 @@ namespace kagome::parachain { "(check_validation_outputs)", receipt.descriptor.relay_parent, receipt.descriptor.para_id); - return PvfError::OUTPUTS; } return commitments; } From 53c8d4449691d1952654e209581223596f2f2f0c Mon Sep 17 00:00:00 2001 From: turuslan Date: Wed, 31 Jul 2024 13:09:47 +0500 Subject: [PATCH 2/2] remove ParachainHost_check_validation_outputs call Signed-off-by: turuslan --- core/parachain/pvf/pvf_impl.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/parachain/pvf/pvf_impl.cpp b/core/parachain/pvf/pvf_impl.cpp index 2968ca0229..9702396834 100644 --- a/core/parachain/pvf/pvf_impl.cpp +++ b/core/parachain/pvf/pvf_impl.cpp @@ -372,18 +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 commitments; } } // namespace kagome::parachain