mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Bump alloy to 0.8.0 (#13268)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -67,7 +67,7 @@ pub fn maybe_generate_tests(
|
||||
use rand::RngCore;
|
||||
|
||||
// get random instance of type
|
||||
let mut raw = [0u8; 1024];
|
||||
let mut raw = vec![0u8; 1024];
|
||||
rand::thread_rng().fill_bytes(&mut raw);
|
||||
let mut unstructured = arbitrary::Unstructured::new(&raw[..]);
|
||||
let val: Result<super::#type_ident, _> = arbitrary::Arbitrary::arbitrary(&mut unstructured);
|
||||
|
||||
Reference in New Issue
Block a user