reth_primitives_traits::header::test_utils

Function valid_header_strategy

Source
pub fn valid_header_strategy() -> impl Strategy<Value = Header>
Available on crate features test-utils or arbitrary only.
Expand description

Generates a proptest strategy for constructing an instance of a header which is valid with respect to past and future forks.

See docs for generate_valid_header for more information.