foundry_cheatcodes::utils

Function random_int

Source
fn random_int(state: &mut Cheatcodes, bits: Option<U256>) -> Result
Expand description

Helper to generate a random int value (with given bits if specified) from type strategy.