lots of refactoring

This commit is contained in:
realbigsean
2023-05-19 17:47:44 -04:00
parent bef63e42f7
commit c7aad773a8
8 changed files with 408 additions and 382 deletions

View File

@@ -37,6 +37,7 @@ pub enum AvailabilityCheckError {
SszTypes(ssz_types::Error),
MissingBlobs,
NumBlobsMismatch {
/// The peer sent us an invalid block, we must penalise harshly.
num_kzg_commitments: usize,
num_blobs: usize,
},