reth-primitives-traits 0.3.1

Common types in reth.
Documentation
1
2
3
4
5
6
7
8
9
//! Abstraction of an executable transaction.

use alloy_primitives::Address;

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