From 6cdc6bfa32e50966c31b879eb85f371de2b9bd14 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Thu, 4 Jul 2024 20:24:11 +0530 Subject: [PATCH] debug: verify data column kzg proofs via kurtosis --- beacon_chain/gossip_processing/gossip_validation.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beacon_chain/gossip_processing/gossip_validation.nim b/beacon_chain/gossip_processing/gossip_validation.nim index a852ff80e..6f1022001 100644 --- a/beacon_chain/gossip_processing/gossip_validation.nim +++ b/beacon_chain/gossip_processing/gossip_validation.nim @@ -601,10 +601,10 @@ proc validateDataColumnSidecar*( # [REJECT] The sidecar's column data is valid as # verified by `verify_data_column_kzg_proofs(sidecar)` - # block: - # let r = check_data_column_sidecar_kzg_proofs(data_column_sidecar) - # if r.isErr: - # return dag.checkedReject(r.error) + block: + let r = check_data_column_sidecar_kzg_proofs(data_column_sidecar) + if r.isErr: + return dag.checkedReject(r.error) # Send notification about new data column sidecar via callback if not(isNil(dataColumnQuarantine.onDataColumnSidecarCallback)):