chore: bump alloy 0.11 (#14122)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Roman Krasiuk
2025-01-31 12:44:20 +01:00
committed by GitHub
parent bd5dde54ef
commit 5322877aed
25 changed files with 256 additions and 270 deletions

View File

@ -199,7 +199,7 @@ where
let type_name = type_name::<T>();
print!("{}", &type_name);
let mut bytes = std::iter::repeat(0u8).take(256).collect::<Vec<u8>>();
let mut bytes = std::iter::repeat_n(0u8, 256).collect::<Vec<u8>>();
let mut compact_buffer = vec![];
let mut values = Vec::with_capacity(VECTOR_SIZE);
@ -215,7 +215,7 @@ where
Err(err) => {
if tries < 5 && matches!(err, arbitrary::Error::NotEnoughData) {
tries += 1;
bytes.extend(std::iter::repeat(0u8).take(256));
bytes.extend(std::iter::repeat_n(0u8, 256));
} else {
return Err(err)?
}