Skip to content

Commit 71520c9

Browse files
authored
Remove penalty for duplicate columns (expected due to reconstruction) (#5798)
1 parent 4946e72 commit 71520c9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

beacon_node/network/src/network_beacon_processor/gossip_methods.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,14 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
10131013
}
10141014
}
10151015
}
1016+
Err(BlockError::BlockIsAlreadyKnown(_)) => {
1017+
debug!(
1018+
self.log,
1019+
"Ignoring gossip column already imported";
1020+
"block_root" => ?block_root,
1021+
"data_column_index" => data_column_index,
1022+
);
1023+
}
10161024
Err(err) => {
10171025
debug!(
10181026
self.log,
@@ -1027,10 +1035,6 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
10271035
PeerAction::MidToleranceError,
10281036
"bad_gossip_data_column_ssz",
10291037
);
1030-
trace!(
1031-
self.log,
1032-
"Invalid gossip data column ssz";
1033-
);
10341038
}
10351039
}
10361040
}

0 commit comments

Comments
 (0)