Test fixes

This commit is contained in:
Eitan Seri- Levi
2026-01-29 12:37:36 -08:00
parent 1098f5d071
commit d122561444
17 changed files with 365 additions and 271 deletions

View File

@@ -191,13 +191,13 @@ impl<E: EthSpec> DataColumnSidecar<E> {
for col_idx in 0..number_of_columns {
let cell = blob_cells
.get(col_idx)
.ok_or_else(|| DataColumnSidecarError::DataColumnIndexOutOfBounds)?;
.ok_or(DataColumnSidecarError::DataColumnIndexOutOfBounds)?;
let cell_vec: Vec<u8> = cell.to_vec();
let cell = Cell::<E>::try_from(cell_vec)?;
let proof = blob_cell_proofs
.get(col_idx)
.ok_or_else(|| DataColumnSidecarError::DataColumnIndexOutOfBounds)?;
.ok_or(DataColumnSidecarError::DataColumnIndexOutOfBounds)?;
columns
.get_mut(col_idx)