mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 18:21:45 +00:00
cargo fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use crate::{BLSFieldElement, Blob, EthSpec, SignedBeaconBlock};
|
||||
use crate::{Blob, EthSpec, SignedBeaconBlock};
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use ssz_derive::{Decode, Encode};
|
||||
use ssz_types::{FixedVector, VariableList};
|
||||
use ssz_derive::{Encode};
|
||||
use ssz_types::{VariableList};
|
||||
use tree_hash::TreeHash;
|
||||
use tree_hash_derive::TreeHash;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use crate::{ChainSpec, Epoch, Fork};
|
||||
use crate::{ChainSpec, Epoch};
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use std::convert::TryFrom;
|
||||
use std::fmt::{self, Display, Formatter};
|
||||
|
||||
@@ -3,12 +3,7 @@ use crate::*;
|
||||
use derivative::Derivative;
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use ssz::{Decode, DecodeError, Encode};
|
||||
use ssz_derive::{Decode, Encode};
|
||||
use ssz_types::VariableList;
|
||||
use superstruct::superstruct;
|
||||
use test_random_derive::TestRandom;
|
||||
use tree_hash::TreeHash;
|
||||
use tree_hash_derive::TreeHash;
|
||||
|
||||
//TODO: is there a way around this newtype
|
||||
#[derive(Derivative, Debug, Clone, Serialize, Deserialize)]
|
||||
|
||||
@@ -94,7 +94,6 @@ pub mod sqlite;
|
||||
pub use kzg_commitment::KZGCommitment;
|
||||
|
||||
use ethereum_types::{H160, H256};
|
||||
use serde::Serialize;
|
||||
|
||||
pub use crate::aggregate_and_proof::AggregateAndProof;
|
||||
pub use crate::attestation::{Attestation, Error as AttestationError};
|
||||
|
||||
Reference in New Issue
Block a user