mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
Fix pending payload cache test lint
This commit is contained in:
@@ -638,7 +638,7 @@ mod data_availability_checker_tests {
|
|||||||
use tempfile::{TempDir, tempdir};
|
use tempfile::{TempDir, tempdir};
|
||||||
use types::{
|
use types::{
|
||||||
ExecutionPayloadEnvelope, ExecutionPayloadGloas, ExecutionRequests, ForkName,
|
ExecutionPayloadEnvelope, ExecutionPayloadGloas, ExecutionRequests, ForkName,
|
||||||
MinimalEthSpec, SignedExecutionPayloadEnvelope, Slot,
|
MinimalEthSpec, SignedExecutionPayloadEnvelope,
|
||||||
};
|
};
|
||||||
|
|
||||||
type E = MinimalEthSpec;
|
type E = MinimalEthSpec;
|
||||||
@@ -783,7 +783,7 @@ mod data_availability_checker_tests {
|
|||||||
init_block(&cache, &harness.spec, NumBlobs::Number(1), RNG_SEED);
|
init_block(&cache, &harness.spec, NumBlobs::Number(1), RNG_SEED);
|
||||||
|
|
||||||
let result = cache
|
let result = cache
|
||||||
.put_rpc_custody_columns(block_root, bid, data_columns)
|
.put_rpc_custody_columns(block_root, bid.clone(), data_columns)
|
||||||
.expect("should put columns");
|
.expect("should put columns");
|
||||||
assert!(matches!(result, Availability::MissingComponents(_)));
|
assert!(matches!(result, Availability::MissingComponents(_)));
|
||||||
|
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
|
|||||||
// Sync handles these results
|
// Sync handles these results
|
||||||
self.send_sync_message(SyncMessage::BlockComponentProcessed {
|
self.send_sync_message(SyncMessage::BlockComponentProcessed {
|
||||||
process_type,
|
process_type,
|
||||||
result: result.map_err(Into::into).into(),
|
result: result.into(),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Drop the handle to remove the entry from the cache
|
// Drop the handle to remove the entry from the cache
|
||||||
|
|||||||
Reference in New Issue
Block a user