mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Save For Later
This commit is contained in:
10
consensus/state_processing/src/execution_processing.rs
Normal file
10
consensus/state_processing/src/execution_processing.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use crate::BlockProcessingError;
|
||||
use types::{BeaconState, ChainSpec, EthSpec, SignedExecutionEnvelope};
|
||||
|
||||
pub fn process_execution_payload_envelope<E: EthSpec>(
|
||||
state: &mut BeaconState<E>,
|
||||
signed_envelope: SignedExecutionEnvelope<E>,
|
||||
spec: &ChainSpec,
|
||||
) -> Result<(), BlockProcessingError> {
|
||||
Ok(())
|
||||
}
|
||||
@@ -21,6 +21,7 @@ pub mod block_replayer;
|
||||
pub mod common;
|
||||
pub mod consensus_context;
|
||||
pub mod epoch_cache;
|
||||
pub mod execution_processing;
|
||||
pub mod genesis;
|
||||
pub mod per_block_processing;
|
||||
pub mod per_epoch_processing;
|
||||
@@ -32,6 +33,7 @@ pub mod verify_operation;
|
||||
pub use all_caches::AllCaches;
|
||||
pub use block_replayer::{BlockReplayError, BlockReplayer};
|
||||
pub use consensus_context::{ConsensusContext, ContextError};
|
||||
pub use execution_processing::process_execution_payload_envelope;
|
||||
pub use genesis::{
|
||||
eth2_genesis_time, initialize_beacon_state_from_eth1, is_valid_genesis_state,
|
||||
process_activations,
|
||||
|
||||
Reference in New Issue
Block a user