Skip to main content

execute_historical_replay_with

Function execute_historical_replay_with 

Source
pub(crate) fn execute_historical_replay_with<E, F>(
    executor: &mut AnvilBlockExecutor<E>,
    transactions: &[HistoricalReplayTransaction],
    inspector_config: &InspectorTxConfig,
    transact: F,
) -> Result<(Vec<MaybeImpersonatedTransaction<FoundryTxEnvelope>>, Vec<TransactionInfo>)>
where E: Evm<DB: StateDB, Inspector = AnvilInspector, Tx: FromRecoveredTx<FoundryTxEnvelope> + FromTxWithEncoded<FoundryTxEnvelope>>, E::HaltReason: Clone + IntoInstructionResult, F: FnMut(&mut E, E::Tx, B256) -> Result<ResultAndState<E::HaltReason>, BlockExecutionError>,
Expand description

Executes a prepared prefix using a caller-selected network transaction entry point.