diff --git a/consensus/state_processing/src/per_block_processing/errors.rs b/consensus/state_processing/src/per_block_processing/errors.rs index 15c2b800912..28d36dbc518 100644 --- a/consensus/state_processing/src/per_block_processing/errors.rs +++ b/consensus/state_processing/src/per_block_processing/errors.rs @@ -1,5 +1,5 @@ use super::signature_sets::Error as SignatureSetError; -use crate::{ContextError, EpochCacheError}; +use crate::ContextError; use merkle_proof::MerkleTreeError; use safe_arith::ArithError; use ssz::DecodeError; diff --git a/consensus/types/src/beacon_state.rs b/consensus/types/src/beacon_state.rs index 7cb34a4d152..ba11c9c4cce 100644 --- a/consensus/types/src/beacon_state.rs +++ b/consensus/types/src/beacon_state.rs @@ -1,4 +1,5 @@ use self::committee_cache::get_active_validator_indices; +use crate::historical_summary::HistoricalSummary; use crate::test_utils::TestRandom; use crate::*; use compare_fields::CompareFields; @@ -11,8 +12,6 @@ use safe_arith::{ArithError, SafeArith}; use serde::{Deserialize, Serialize}; use ssz::{ssz_encode, Decode, DecodeError, Encode}; use ssz_derive::{Decode, Encode}; -use ssz_types::{typenum::Unsigned, BitVector}; -use std::convert::TryInto; use std::hash::Hash; use std::{fmt, mem, sync::Arc}; use superstruct::superstruct; @@ -29,8 +28,6 @@ pub use crate::beacon_state::balance::Balance; pub use crate::beacon_state::exit_cache::ExitCache; pub use crate::beacon_state::progressive_balances_cache::*; pub use crate::beacon_state::slashings_cache::SlashingsCache; -use crate::epoch_cache::EpochCache; -use crate::historical_summary::HistoricalSummary; pub use clone_config::CloneConfig; pub use eth_spec::*; pub use iter::BlockRootsIter;