Small changes

This commit is contained in:
Eitan Seri-Levi
2026-01-02 08:55:48 -06:00
parent 07a2ea393c
commit b52236a81f
3 changed files with 4 additions and 6 deletions

View File

@@ -45,6 +45,8 @@ use crate::validator::post_validator_liveness_epoch;
use crate::validator::*;
use crate::version::beacon_response;
use beacon::states;
use warp_utils::reject::convert_rejection;
use beacon_chain::{BeaconChain, BeaconChainError, BeaconChainTypes, WhenSlotSkipped};
use beacon_processor::BeaconProcessorSend;
pub use block_id::BlockId;

View File

@@ -2,7 +2,6 @@ use std::{sync::Arc, time::Duration};
use beacon_chain::inclusion_list_verification::GossipInclusionListError;
use beacon_chain::{BeaconChain, BeaconChainTypes, validator_monitor::timestamp_now};
use beacon_processor::work_reprocessing_queue::ReprocessQueueMessage;
use eth2::types::Failure;
use lighthouse_network::PubsubMessage;
use network::NetworkMessage;
@@ -35,7 +34,6 @@ pub async fn publish_inclusion_lists<T: BeaconChainTypes>(
chain: Arc<BeaconChain<T>>,
inclusion_lists: Vec<SignedInclusionList<T::EthSpec>>,
network_tx: UnboundedSender<NetworkMessage<T::EthSpec>>,
_reprocess_send: Option<Sender<ReprocessQueueMessage>>,
) -> Result<(), warp::Rejection> {
// Gossip validate and publish inclusion lists that can be immediately processed.
let seen_timestamp = timestamp_now();