Skip to content

Commit

Permalink
preserve original behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
malik672 committed Oct 23, 2024
1 parent 8ae6266 commit 34da162
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/evm/fuzz/src/strategies/param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ fn fuzz_param_inner(
(None, None)
};

super::UintStrategy::new(n, fuzz_fixtures, None)
let strategy = super::UintStrategy::new(n, fuzz_fixtures, None);
strategy.with_bounds(Some(min.unwrap()), Some(max.unwrap()))
.prop_map(move |x| DynSolValue::Uint(x, n))
.boxed()
}
Expand Down

0 comments on commit 34da162

Please sign in to comment.