mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Update to superstruct v0.4.1 (#2886)
## Proposed Changes Update `superstruct` to bring in @realbigsean's fixes necessary for MEV-compatible private beacon block types (a la #2795). The refactoring is due to another change in superstruct that allows partial getters to be auto-generated.
This commit is contained in:
@@ -193,7 +193,7 @@ pub async fn verify_full_sync_aggregates_up_to<E: EthSpec>(
|
||||
.map(|agg| agg.num_set_bits())
|
||||
})
|
||||
.map_err(|e| format!("Error while getting beacon block: {:?}", e))?
|
||||
.ok_or(format!("Altair block {} should have sync aggregate", slot))?;
|
||||
.map_err(|_| format!("Altair block {} should have sync aggregate", slot))?;
|
||||
|
||||
if sync_aggregate_count != E::sync_committee_size() {
|
||||
return Err(format!(
|
||||
|
||||
Reference in New Issue
Block a user