mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
resolve merge conflict and migrate il service to new pardigmn
This commit is contained in:
@@ -24,7 +24,7 @@ use state_processing::per_block_processing::{
|
||||
};
|
||||
use std::sync::Arc;
|
||||
use tokio::task::JoinHandle;
|
||||
use tracing::{debug, warn, info};
|
||||
use tracing::{debug, info, warn};
|
||||
use tree_hash::TreeHash;
|
||||
use types::payload::BlockProductionVersion;
|
||||
use types::*;
|
||||
@@ -374,9 +374,9 @@ pub fn validate_execution_payload_for_gossip<T: BeaconChainTypes>(
|
||||
.slot_clock
|
||||
.start_of(block.slot())
|
||||
.map(|d| d.as_secs())
|
||||
.ok_or(BlockError::BeaconChainError(
|
||||
.ok_or(BlockError::BeaconChainError(Box::new(
|
||||
BeaconChainError::UnableToComputeTimeAtSlot,
|
||||
))?;
|
||||
)))?;
|
||||
|
||||
// The block's execution payload timestamp is correct with respect to the slot
|
||||
if execution_payload.timestamp() != expected_timestamp {
|
||||
@@ -559,7 +559,7 @@ where
|
||||
"prepare_execution_payload_forkchoice_update_params",
|
||||
)
|
||||
.await
|
||||
.map_err(BlockProductionError::BeaconChain)?;
|
||||
.map_err(|e| BlockProductionError::BeaconChain(Box::new(e)))?;
|
||||
|
||||
let suggested_fee_recipient = execution_layer
|
||||
.get_suggested_fee_recipient(proposer_index)
|
||||
|
||||
Reference in New Issue
Block a user