remove some logging

This commit is contained in:
Agnish Ghosh 2024-10-03 16:22:53 +05:30
parent 44a5514861
commit 28e7d9187c
2 changed files with 2 additions and 3 deletions

View File

@ -1537,7 +1537,7 @@ proc tryReconstructingDataColumns* (self: BeaconNode,
# storedColumn number is less than the NUMBER_OF_COLUMNS
# then reconstruction is not possible, and if all the data columns
# are already stored then we do not need to reconstruct at all
if not storedColumns.len < NUMBER_OF_COLUMNS div 2 or storedColumns.len != NUMBER_OF_COLUMNS:
if not storedColumns.len < NUMBER_OF_COLUMNS div 2 and storedColumns.len != NUMBER_OF_COLUMNS:
# Recover blobs from saved data column sidecars
let recovered_cps = recover_cells_and_proofs(data_column_sidecars, storedColumns.len, signed_block)
if not recovered_cps.isOk:
@ -1576,7 +1576,6 @@ proc reconstructAndSendDataColumns*(node: BeaconNode) {.async.} =
var
das_workers = newSeq[Future[SendResult]](dc.len)
for i in 0..<dc.lenu64:
debugEcho "Computing subnet before broadcasting reconstructed data columns"
let subnet_id = compute_subnet_for_data_column_sidecar(dc[i].index)
das_workers[i] =
node.network.broadcastDataColumnSidecar(subnet_id, dc[i])

View File

@ -38,7 +38,7 @@ const
BLOB_GOSSIP_WAIT_TIME_NS* = 2 * 1_000_000_000
## How long to wait for blobs to arrive over gossip before fetching.
DATA_COLUMN_GOSSIP_WAIT_TIME_NS* = 2 * 1_000_000_000
DATA_COLUMN_GOSSIP_WAIT_TIME_NS* = 5 * 1_000_000_000
POLL_INTERVAL = 1.seconds