[][src]Enum beacon_chain::eth1_chain::Error

pub enum Error {
    EpochUnavailable,
    BackendError(String),
    DepositIndexTooHigh,
    UnableToGetPreviousStateRoot(BeaconStateError),
    PreviousStateNotInDB,
    StoreError(StoreError),
    UnknownVotingPeriodHead,
    UnknownPreviousEth1BlockHash,
}

Variants

EpochUnavailable

Unable to return an Eth1Data for the given epoch.

BackendError(String)

An error from the backend service (e.g., the web3 data fetcher).

DepositIndexTooHigh

The deposit index of the state is higher than the deposit contract. This is a critical consensus error.

UnableToGetPreviousStateRoot(BeaconStateError)

The current state was unable to return the root for the state at the start of the eth1 voting period.

PreviousStateNotInDB

The state required to find the previous eth1 block was not found in the store.

StoreError(StoreError)

There was an error accessing an object in the database.

UnknownVotingPeriodHead

The eth1 head block at the start of the eth1 voting period is unknown.

The eth1 caches are likely stale.

UnknownPreviousEth1BlockHash

The block that was previously voted into the state is unknown.

The eth1 caches are stale, or a junk value was voted into the chain.

Trait Implementations

impl PartialEq<Error> for Error[src]

impl From<Error> for BlockProductionError[src]

impl Debug for Error[src]

Auto Trait Implementations

impl Send for Error

impl Unpin for Error

impl Sync for Error

impl UnwindSafe for Error

impl RefUnwindSafe for Error

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Erased for T