mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 20:57:10 +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 types::{
|
||||
ExecutionPayloadEnvelope, ExecutionPayloadGloas, ExecutionRequests, ForkName,
|
||||
MinimalEthSpec, SignedExecutionPayloadEnvelope, Slot,
|
||||
MinimalEthSpec, SignedExecutionPayloadEnvelope,
|
||||
};
|
||||
|
||||
type E = MinimalEthSpec;
|
||||
@@ -783,7 +783,7 @@ mod data_availability_checker_tests {
|
||||
init_block(&cache, &harness.spec, NumBlobs::Number(1), RNG_SEED);
|
||||
|
||||
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");
|
||||
assert!(matches!(result, Availability::MissingComponents(_)));
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
|
||||
// Sync handles these results
|
||||
self.send_sync_message(SyncMessage::BlockComponentProcessed {
|
||||
process_type,
|
||||
result: result.map_err(Into::into).into(),
|
||||
result: result.into(),
|
||||
});
|
||||
|
||||
// Drop the handle to remove the entry from the cache
|
||||
|
||||
Reference in New Issue
Block a user