@@ -408,7 +408,6 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
408408 /// This function performs the conversion, and if successful queues a new message to be
409409 /// processed by `process_gossip_attestation`. If unsuccessful due to block unavailability,
410410 /// a retry message will be pushed.
411- /// TODO(beacon-processor) should we add a bool to enable/disable retry?
412411 #[ allow( clippy:: too_many_arguments) ]
413412 pub fn process_gossip_attestation_to_convert (
414413 self : Arc < Self > ,
@@ -417,6 +416,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
417416 single_attestation : Box < SingleAttestation > ,
418417 subnet_id : SubnetId ,
419418 should_import : bool ,
419+ should_reprocess : bool ,
420420 seen_timestamp : Duration ,
421421 ) {
422422 let conversion_result = self . chain . with_committee_cache (
@@ -495,6 +495,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
495495 single_attestation,
496496 subnet_id,
497497 should_import,
498+ false ,
498499 seen_timestamp,
499500 )
500501 } ) ,
@@ -1198,7 +1199,6 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
11981199 /// be downloaded.
11991200 ///
12001201 /// Raises a log if there are errors.
1201- /// TODO(beacon-processor) allow_reprocess flag?
12021202 #[ allow( clippy:: too_many_arguments) ]
12031203 pub async fn process_gossip_block (
12041204 self : Arc < Self > ,
@@ -1530,7 +1530,6 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
15301530 /// Process the beacon block that has already passed gossip verification.
15311531 ///
15321532 /// Raises a log if there are errors.
1533- /// TODO(beacon-processor) allow reprocess?
15341533 pub async fn process_gossip_verified_block (
15351534 self : Arc < Self > ,
15361535 peer_id : PeerId ,
0 commit comments