mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-16 20:39:10 +00:00
Fulu update to spec v1.6.0-alpha.4 (#7890)
Fulu update to spec [v1.6.0-alpha.4](https://github.com/ethereum/consensus-specs/releases/tag/v1.6.0-alpha.4). - Make `number_of_columns` a preset - Optimise `get_custody_groups` to avoid computing if cgc = 128 - Add support for additional typenum values in type_dispatch macro
This commit is contained in:
@@ -58,8 +58,8 @@ impl<E: EthSpec> ObservableDataSidecar for DataColumnSidecar<E> {
|
||||
self.index
|
||||
}
|
||||
|
||||
fn max_num_of_items(spec: &ChainSpec, _slot: Slot) -> usize {
|
||||
spec.number_of_columns as usize
|
||||
fn max_num_of_items(_spec: &ChainSpec, _slot: Slot) -> usize {
|
||||
E::number_of_columns()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user