File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
beacon_node/network/src/network_beacon_processor Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -710,8 +710,19 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
710
710
MessageAcceptance :: Reject ,
711
711
) ;
712
712
}
713
+ GossipDataColumnError :: PriorKnown { .. } => {
714
+ // Data column is available via either the EL or reconstruction.
715
+ // Do not penalise the peer.
716
+ // Gossip filter should filter any duplicates received after this.
717
+ debug ! (
718
+ self . log,
719
+ "Received already available column sidecar. Ignoring the column sidecar" ;
720
+ "slot" => %slot,
721
+ "block_root" => %block_root,
722
+ "index" => %index,
723
+ )
724
+ }
713
725
GossipDataColumnError :: FutureSlot { .. }
714
- | GossipDataColumnError :: PriorKnown { .. }
715
726
| GossipDataColumnError :: PastFinalizedSlot { .. } => {
716
727
debug ! (
717
728
self . log,
@@ -852,7 +863,18 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
852
863
MessageAcceptance :: Reject ,
853
864
) ;
854
865
}
855
- GossipBlobError :: FutureSlot { .. } | GossipBlobError :: RepeatBlob { .. } => {
866
+ GossipBlobError :: RepeatBlob { .. } => {
867
+ // We may have received the blob from the EL. Do not penalise the peer.
868
+ // Gossip filter should filter any duplicates received after this.
869
+ debug ! (
870
+ self . log,
871
+ "Received already available blob sidecar. Ignoring the blob sidecar" ;
872
+ "slot" => %slot,
873
+ "root" => %root,
874
+ "index" => %index,
875
+ )
876
+ }
877
+ GossipBlobError :: FutureSlot { .. } => {
856
878
debug ! (
857
879
self . log,
858
880
"Could not verify blob sidecar for gossip. Ignoring the blob sidecar" ;
You can’t perform that action at this time.
0 commit comments