Skip to main content

replay_kept_calls

Function replay_kept_calls 

Source
fn replay_kept_calls<FEN: FoundryEvmNetwork, P: ReplayPolicy<FEN>>(
    executor: &mut Executor<FEN>,
    calls: &[BasicTxDetails],
    sequence: &[usize],
    kept: &[usize],
    range: Range<usize>,
    counters: &mut ReplayCounters,
    policy: &P,
) -> Result<Option<P::Outcome>>
Expand description

Replays the kept calls of calls[range] on executor. kept holds the kept indices inside the range in order. Returns the outcome of the call that stopped the replay, if any.