Fix wrong custody column count for lookup blocks (#7281)

Fixes
- https://github.com/sigp/lighthouse/issues/7278


  Don't assume 0 columns for `RpcBlockInner::Block`
This commit is contained in:
Lion - dapplion
2025-04-11 19:00:57 -03:00
committed by GitHub
parent 70f8ab9a6f
commit be68dd24d0
13 changed files with 98 additions and 76 deletions

View File

@@ -459,7 +459,8 @@ fn build_rpc_block(
)
.unwrap()
}
None => RpcBlock::new_without_blobs(None, block),
// Block has no data, expects zero columns
None => RpcBlock::new_without_blobs(None, block, 0),
}
}