mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +00:00
Moar Progress
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
use crate::BlockProcessingError;
|
||||
use crate::VerifySignatures;
|
||||
use crate::per_block_processing::process_operations::{
|
||||
process_consolidation_requests, process_deposit_requests, process_withdrawal_requests,
|
||||
};
|
||||
use crate::BlockProcessingError;
|
||||
use crate::VerifySignatures;
|
||||
use types::{BeaconState, BeaconStateError, ChainSpec, EthSpec, Hash256, SignedExecutionPayloadEnvelope};
|
||||
use types::{
|
||||
BeaconState, BeaconStateError, ChainSpec, EthSpec, Hash256, SignedExecutionPayloadEnvelope,
|
||||
};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum EnvelopeProcessingError {
|
||||
@@ -47,8 +49,6 @@ pub fn envelope_processing<E: EthSpec>(
|
||||
state.latest_block_header_mut().state_root = previous_state_root;
|
||||
}
|
||||
|
||||
// Verify consistency with the beacon block
|
||||
|
||||
// process electra operations
|
||||
let envelope = signed_envelope.message();
|
||||
let payload = envelope.payload();
|
||||
@@ -62,4 +62,4 @@ pub fn envelope_processing<E: EthSpec>(
|
||||
|
||||
todo!("the rest of process_execution_payload()");
|
||||
//Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,8 +11,9 @@ use types::{
|
||||
BeaconStateError, ChainSpec, DepositData, Domain, Epoch, EthSpec, Fork, Hash256,
|
||||
InconsistentFork, IndexedAttestation, IndexedAttestationRef, ProposerSlashing, PublicKey,
|
||||
PublicKeyBytes, Signature, SignedAggregateAndProof, SignedBeaconBlock, SignedBeaconBlockHeader,
|
||||
SignedBlsToExecutionChange, SignedContributionAndProof, SignedRoot, SignedVoluntaryExit,
|
||||
SigningData, Slot, SyncAggregate, SyncAggregatorSelectionData, Unsigned, SignedExecutionPayloadEnvelope,
|
||||
SignedBlsToExecutionChange, SignedContributionAndProof, SignedExecutionPayloadEnvelope,
|
||||
SignedRoot, SignedVoluntaryExit, SigningData, Slot, SyncAggregate, SyncAggregatorSelectionData,
|
||||
Unsigned,
|
||||
};
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
Reference in New Issue
Block a user