Function execute_transactions

Source
pub fn execute_transactions<S, T>(
    builder: S,
    calls: Vec<TransactionRequest>,
    validation: bool,
    default_gas_limit: u64,
    chain_id: u64,
    tx_resp_builder: &T,
) -> Result<(BlockBuilderOutcome<S::Primitives>, Vec<ExecutionResult<<<S::Executor as BlockExecutor>::Evm as Evm>::HaltReason>>), EthApiError>
where S: BlockBuilder<Executor: BlockExecutor<Evm: Evm<DB: Database<Error: Into<EthApiError>>>>>, T: TransactionCompat<TxTy<S::Primitives>>,
Expand description

Converts all [TransactionRequest]s into [Recovered] transactions and applies them to the given [BlockExecutor].

Returns all executed transactions and the result of the execution.