experimental disabling of upstream

This commit is contained in:
Agnish Ghosh 2024-06-03 12:06:07 +05:30
parent b4810fabeb
commit 9be2e4da9a
No known key found for this signature in database
GPG Key ID: 7BDDA05D1B25E9F8
1 changed files with 9 additions and 7 deletions

View File

@ -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")