diff --git a/beacon_chain/networking/eth2_discovery.nim b/beacon_chain/networking/eth2_discovery.nim index b8eb92a18..6ffb7d2d9 100644 --- a/beacon_chain/networking/eth2_discovery.nim +++ b/beacon_chain/networking/eth2_discovery.nim @@ -161,12 +161,6 @@ proc queryRandom*( debug "Could not decode the csc count ENR bitfield of peer", peer = n.record.toURI(), exception = e.name, msg = e.msg continue - if wantedCscnets == cscnetsNode: - score += 1 - - else: - debug "Wanted csc count and decode csc from enr does not match!", - wantedCsc = wantedCscnets, cscNets = cscnetsNode let attnetsBytes = n.record.get(enrAttestationSubnetsField, seq[byte]) if attnetsBytes.isOk(): diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index a3aea9107..3b0b2e228 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -1533,7 +1533,7 @@ proc tryReconstructingDataColumns* (self: BeaconNode, # then reconstruction is not possible, and if all the data columns # are already stored then we do not need to reconstruct at all if storedColumns.len < NUMBER_OF_COLUMNS div 2 or storedColumns.len == NUMBER_OF_COLUMNS: - ok(data_column_sidecars) + ok(finalisedDataColumns) else: # Recover blobs from saved data column sidecars let recovered_cps = recover_cells_and_proofs(data_column_sidecars, storedColumns.len, signed_block) @@ -1563,24 +1563,26 @@ proc reconstructAndSendDataColumns*(node: BeaconNode) {.async.} = if not data_column_sidecars.isOk(): return notice "Data Column Reconstructed and Saved Successfully" - let dc = data_column_sidecars.get - var - worker_count = len(dc) - das_workers = newSeq[Future[SendResult]](worker_count) - for i in 0..