reth_testing_utils::generators

Function rng

Source
pub fn rng() -> StdRng
Expand description

Returns a random number generator that can be seeded using the SEED environment variable.

If SEED is not set, a random seed is used.