diff --git a/beacon_node/beacon_chain/src/pending_payload_cache/mod.rs b/beacon_node/beacon_chain/src/pending_payload_cache/mod.rs index 21a86f05cc..c65d5ec556 100644 --- a/beacon_node/beacon_chain/src/pending_payload_cache/mod.rs +++ b/beacon_node/beacon_chain/src/pending_payload_cache/mod.rs @@ -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(_))); diff --git a/beacon_node/network/src/network_beacon_processor/sync_methods.rs b/beacon_node/network/src/network_beacon_processor/sync_methods.rs index 61d1b84950..988a68c9dd 100644 --- a/beacon_node/network/src/network_beacon_processor/sync_methods.rs +++ b/beacon_node/network/src/network_beacon_processor/sync_methods.rs @@ -234,7 +234,7 @@ impl NetworkBeaconProcessor { // 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