Skip to main content

build_tx_env_for_pending

Function build_tx_env_for_pending 

Source
pub fn build_tx_env_for_pending(
    tx: &PendingTransaction<FoundryTxEnvelope>,
    cheats: &CheatsManager,
    networks: NetworkConfigs,
    _evm_env: &EvmEnv,
) -> OpTransaction<TxEnv>
Expand description

Builds the per-tx OpTransaction<TxEnv> from a pending transaction, replicating the logic from TransactionExecutor::env_for.