Skip to main content

build_shrunk_sequence

Function build_shrunk_sequence 

Source
fn build_shrunk_sequence(
    calls: &[BasicTxDetails],
    shrinker: &CallSequenceShrinker,
    accumulate_warp_roll: bool,
) -> Vec<BasicTxDetails>
Expand description

Builds the final shrunk sequence from the shrinker state.

When accumulate_warp_roll is enabled, warp/roll from removed calls is folded into the next kept call so the final sequence remains reproducible.