Skip to content

Commit

Permalink
Update packages/adapters/storage/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ahmed Sagdati <[email protected]>
  • Loading branch information
MujkicA and segfault-magnet authored Jan 13, 2025
1 parent 8259694 commit b9e04f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/adapters/storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,9 @@ mod tests {
range: RangeInclusive<u32>,
) {
let chunk_size = 10_000;
for chunk in range.clone().collect::<Vec<_>>().chunks(chunk_size) {
for chunk in range.chunks(chunk_size).into_iter() {
let blocks = chunk
.iter()
.map(|&height| CompressedFuelBlock {
.map(|height| CompressedFuelBlock {
height,
data: nonempty![height as u8],
})
Expand Down

0 comments on commit b9e04f2

Please sign in to comment.