Fix invalid data column sidecars getting accepted (#6454)

* Fix invalid data column sidecars getting accepted.

* Update code to match spec function.
This commit is contained in:
Jimmy Chen
2024-10-03 13:06:05 +10:00
committed by GitHub
parent 428310c881
commit 17849b58ec
2 changed files with 95 additions and 1 deletions

View File

@@ -711,6 +711,9 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
| GossipDataColumnError::InvalidSubnetId { .. }
| GossipDataColumnError::InvalidInclusionProof { .. }
| GossipDataColumnError::InvalidKzgProof { .. }
| GossipDataColumnError::UnexpectedDataColumn
| GossipDataColumnError::InvalidColumnIndex(_)
| GossipDataColumnError::InconsistentCommitmentsOrProofLength
| GossipDataColumnError::NotFinalizedDescendant { .. } => {
debug!(
self.log,