Skip to content

Commit

Permalink
clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ncitron committed Aug 27, 2024
1 parent 4480fbf commit fa77780
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions consensus/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ use std::sync::Arc;

use alloy::primitives::B256;
use chrono::Duration;
use consensus_core::apply_bootstrap;
use consensus_core::verify_bootstrap;
use consensus_core::verify_finality_update;
use consensus_core::verify_optimistic_update;
use consensus_core::verify_update;
use eyre::eyre;
use eyre::Result;
use futures::future::join_all;
Expand All @@ -31,10 +26,12 @@ use crate::constants::MAX_REQUEST_LIGHT_CLIENT_UPDATES;
use crate::database::Database;

use consensus_core::{
apply_finality_update, apply_optimistic_update, apply_update, calc_sync_period,
apply_bootstrap, apply_finality_update, apply_optimistic_update, apply_update,
calc_sync_period,
errors::ConsensusError,
expected_current_slot, get_bits,
types::{ExecutionPayload, FinalityUpdate, LightClientStore, OptimisticUpdate, Update},
verify_bootstrap, verify_finality_update, verify_optimistic_update, verify_update,
};

pub struct ConsensusClient<R: ConsensusRpc, DB: Database> {
Expand Down

0 comments on commit fa77780

Please sign in to comment.