reth_primitives_traits/transaction/
execute.rs

1
2
3
4
5
6
7
8
9
10
//! Abstraction of an executable transaction.

use alloy_primitives::Address;
use revm_primitives::TxEnv;

/// Loads transaction into execution environment.
pub trait FillTxEnv {
    /// Fills [`TxEnv`] with an [`Address`] and transaction.
    fn fill_tx_env(&self, tx_env: &mut TxEnv, sender: Address);
}