From 9be2e4da9aee0b272680b049d1a9afb0f02544c7 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Mon, 3 Jun 2024 12:06:07 +0530 Subject: [PATCH] experimental disabling of upstream --- beacon_chain/spec/eip7594_helpers.nim | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/beacon_chain/spec/eip7594_helpers.nim b/beacon_chain/spec/eip7594_helpers.nim index 0eb52001f..3847a3197 100644 --- a/beacon_chain/spec/eip7594_helpers.nim +++ b/beacon_chain/spec/eip7594_helpers.nim @@ -201,13 +201,15 @@ proc verify_data_column_sidecar_kzg_proofs*(sidecar: DataColumnSidecar): Result[ sidecarCol = sidecar.column.asSeq kzgProofs = sidecar.kzg_proofs.asSeq - # KZG batch verifies that the cells match the corresponding commitments and KZG proofs - let res = validate_data_column_sidecar( - kzgCommits, - rowIndices, - colIndices, - sidecarCol, - kzgProofs) + let res = verifyCellKzgProofBatch(kzgCommits, rowIndices, colIndices, sidecarCol, kzgProofs) + + # # KZG batch verifies that the cells match the corresponding commitments and KZG proofs + # let res = validate_data_column_sidecar( + # kzgCommits, + # rowIndices, + # colIndices, + # sidecarCol, + # kzgProofs) if res.isErr(): return err("DataColumnSidecar: validation failed")