mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
Resolve merge conflicts
This commit is contained in:
@@ -5,6 +5,7 @@ edition = { workspace = true }
|
||||
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
||||
|
||||
[dependencies]
|
||||
bls = { workspace = true }
|
||||
eth2 = { workspace = true }
|
||||
slashing_protection = { workspace = true }
|
||||
types = { workspace = true }
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
use bls::{PublicKeyBytes, Signature};
|
||||
use eth2::types::{FullBlockContents, PublishBlockRequest};
|
||||
use slashing_protection::NotSafe;
|
||||
use std::fmt::Debug;
|
||||
@@ -5,10 +6,10 @@ use std::future::Future;
|
||||
use std::sync::Arc;
|
||||
use types::{
|
||||
Address, Attestation, AttestationError, BlindedBeaconBlock, Epoch, EthSpec, Graffiti, Hash256,
|
||||
InclusionList, PublicKeyBytes, SelectionProof, Signature, SignedAggregateAndProof,
|
||||
SignedBlindedBeaconBlock, SignedContributionAndProof, SignedInclusionList,
|
||||
SignedValidatorRegistrationData, Slot, SyncCommitteeContribution, SyncCommitteeMessage,
|
||||
SyncSelectionProof, SyncSubnetId, ValidatorRegistrationData,
|
||||
InclusionList, SelectionProof, SignedAggregateAndProof, SignedBlindedBeaconBlock,
|
||||
SignedContributionAndProof, SignedInclusionList, SignedValidatorRegistrationData, Slot,
|
||||
SyncCommitteeContribution, SyncCommitteeMessage, SyncSelectionProof, SyncSubnetId,
|
||||
ValidatorRegistrationData,
|
||||
};
|
||||
|
||||
#[derive(Debug, PartialEq, Clone)]
|
||||
@@ -22,6 +23,7 @@ pub enum Error<T> {
|
||||
GreaterThanCurrentEpoch { epoch: Epoch, current_epoch: Epoch },
|
||||
UnableToSignAttestation(AttestationError),
|
||||
SpecificError(T),
|
||||
Middleware(String),
|
||||
}
|
||||
|
||||
impl<T> From<T> for Error<T> {
|
||||
|
||||
Reference in New Issue
Block a user