reth_execution_types/execute.rs
1use revm_database::BundleState;
2
3pub use alloy_evm::block::BlockExecutionResult;
4
5/// [`BlockExecutionResult`] combined with state.
6#[derive(
7 Debug,
8 Clone,
9 PartialEq,
10 Eq,
11 derive_more::AsRef,
12 derive_more::AsMut,
13 derive_more::Deref,
14 derive_more::DerefMut,
15)]
16pub struct BlockExecutionOutput<T> {
17 /// All the receipts of the transactions in the block.
18 #[as_ref]
19 #[as_mut]
20 #[deref]
21 #[deref_mut]
22 pub result: BlockExecutionResult<T>,
23 /// The changed state of the block after execution.
24 pub state: BundleState,
25}