mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-17 02:38:34 +00:00
Deprecate blob lookup sync (#9383)
- Extends https://github.com/sigp/lighthouse/pull/9126 to cover blob lookup sync Lookup sync is only for unfinalized blocks, which will never contains blobs in any network we support. Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com> Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
This commit is contained in:
@@ -895,12 +895,8 @@ impl<E: EthSpec> AvailableBlock<E> {
|
||||
match &block_data {
|
||||
AvailableBlockData::NoData => {
|
||||
// For Gloas, DA is checked for the PayloadEnvelope, not for the block.
|
||||
if !block.fork_name_unchecked().gloas_enabled() {
|
||||
if columns_required {
|
||||
return Err(AvailabilityCheckError::MissingCustodyColumns);
|
||||
} else if blobs_required {
|
||||
return Err(AvailabilityCheckError::MissingBlobs);
|
||||
}
|
||||
if !block.fork_name_unchecked().gloas_enabled() && columns_required {
|
||||
return Err(AvailabilityCheckError::MissingCustodyColumns);
|
||||
}
|
||||
}
|
||||
AvailableBlockData::Blobs(blobs) => {
|
||||
|
||||
Reference in New Issue
Block a user