execute_transactions

Function execute_transactions 

Source
pub fn execute_transactions<S, T>(
    builder: S,
    calls: Vec<RpcTxReq<T::Network>>,
    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: RpcConvert<Primitives = S::Primitives>,
Expand description

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

Returns all executed transactions and the result of the execution.