Skip to main content

execute_historical_replay

Function execute_historical_replay 

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

Executes a prepared prefix strictly and captures changesets for deferred publication.