@@ -811,7 +811,7 @@ impl<T: BeaconChainTypes> BlockLookups<T> {
811811 let root = lookup. block_root ( ) ;
812812 trace ! ( self . log, "Single block processing failed" ; "block" => %root, "error" => %e) ;
813813 match e {
814- BlockError :: BlockIsAlreadyKnown => {
814+ BlockError :: BlockIsAlreadyKnown ( _ ) => {
815815 // No error here
816816 return Ok ( None ) ;
817817 }
@@ -898,17 +898,17 @@ impl<T: BeaconChainTypes> BlockLookups<T> {
898898 match & result {
899899 BlockProcessingResult :: Ok ( status) => match status {
900900 AvailabilityProcessingStatus :: Imported ( block_root) => {
901- trace ! ( self . log, "Parent block processing succeeded" ; & parent_lookup, "block_root" => ?block_root)
901+ debug ! ( self . log, "Parent block processing succeeded" ; & parent_lookup, "block_root" => ?block_root)
902902 }
903903 AvailabilityProcessingStatus :: MissingComponents ( _, block_root) => {
904- trace ! ( self . log, "Parent missing parts, triggering single block lookup " ; & parent_lookup, "block_root" => ?block_root)
904+ debug ! ( self . log, "Parent missing parts, triggering single block lookup " ; & parent_lookup, "block_root" => ?block_root)
905905 }
906906 } ,
907907 BlockProcessingResult :: Err ( e) => {
908- trace ! ( self . log, "Parent block processing failed" ; & parent_lookup, "error" => %e)
908+ debug ! ( self . log, "Parent block processing failed" ; & parent_lookup, "error" => %e)
909909 }
910910 BlockProcessingResult :: Ignored => {
911- trace ! (
911+ debug ! (
912912 self . log,
913913 "Parent block processing job was ignored" ;
914914 "action" => "re-requesting block" ,
@@ -954,7 +954,7 @@ impl<T: BeaconChainTypes> BlockLookups<T> {
954954 self . request_parent ( parent_lookup, cx) ;
955955 }
956956 BlockProcessingResult :: Ok ( AvailabilityProcessingStatus :: Imported ( _) )
957- | BlockProcessingResult :: Err ( BlockError :: BlockIsAlreadyKnown { .. } ) => {
957+ | BlockProcessingResult :: Err ( BlockError :: BlockIsAlreadyKnown ( _ ) ) => {
958958 // Check if the beacon processor is available
959959 let Some ( beacon_processor) = cx. beacon_processor_if_enabled ( ) else {
960960 return trace ! (
0 commit comments