mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 10:52:43 +00:00
Beta compiler fix (#5659)
* fix beta compiler compilation * remove unused import * Revert "remove unused import" This reverts commit0bef36b05b. * Revert "fix beta compiler compilation" This reverts commit23152cf4cc. * rename ununsed fields * allow dead code on some error variants * remove unused blob download queue * add back debug to backfill error * more allow dead code on errors
This commit is contained in:
@@ -627,7 +627,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
),
|
||||
BlockProcessType::SingleBlob { id } => self
|
||||
.block_lookups
|
||||
.single_block_component_processed::<BlobRequestState<T::EthSpec>>(
|
||||
.single_block_component_processed::<BlobRequestState>(
|
||||
id,
|
||||
result,
|
||||
&mut self.network,
|
||||
@@ -908,7 +908,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
Ok((blobs, seen_timestamp)) => match id.lookup_type {
|
||||
LookupType::Current => self
|
||||
.block_lookups
|
||||
.single_lookup_response::<BlobRequestState<T::EthSpec>>(
|
||||
.single_lookup_response::<BlobRequestState>(
|
||||
id,
|
||||
peer_id,
|
||||
blobs,
|
||||
@@ -917,7 +917,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
),
|
||||
LookupType::Parent => self
|
||||
.block_lookups
|
||||
.parent_lookup_response::<BlobRequestState<T::EthSpec>>(
|
||||
.parent_lookup_response::<BlobRequestState>(
|
||||
id,
|
||||
peer_id,
|
||||
blobs,
|
||||
@@ -929,20 +929,20 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
Err(error) => match id.lookup_type {
|
||||
LookupType::Current => self
|
||||
.block_lookups
|
||||
.single_block_lookup_failed::<BlobRequestState<T::EthSpec>>(
|
||||
.single_block_lookup_failed::<BlobRequestState>(
|
||||
id,
|
||||
&peer_id,
|
||||
&mut self.network,
|
||||
error,
|
||||
),
|
||||
LookupType::Parent => self
|
||||
.block_lookups
|
||||
.parent_lookup_failed::<BlobRequestState<T::EthSpec>>(
|
||||
LookupType::Parent => {
|
||||
self.block_lookups.parent_lookup_failed::<BlobRequestState>(
|
||||
id,
|
||||
&peer_id,
|
||||
&mut self.network,
|
||||
error,
|
||||
),
|
||||
)
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user