Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-magnet committed Sep 24, 2024
1 parent d3ae323 commit 06717a7
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions packages/services/src/block_bundler/bundler.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
use rayon::prelude::*;
use std::{
cmp::min, collections::VecDeque, fmt::Display, io::Write, num::NonZeroUsize,
ops::RangeInclusive, str::FromStr,
cmp::min,
collections::{HashSet, VecDeque},
fmt::Display,
io::Write,
num::NonZeroUsize,
ops::RangeInclusive,
str::FromStr,
};

use bytesize::ByteSize;
Expand All @@ -11,11 +15,10 @@ use ports::{
storage::SequentialFuelBlocks,
types::{CollectNonEmpty, Fragment, NonEmpty},
};
use rayon::prelude::*;

use crate::Result;

use std::collections::HashSet;

/// Generates a sequence of block counts based on the initial step size.
/// For each step size, it creates a range from `max_blocks` down to `1`,
/// decrementing by the current step. After exhausting a step size,
Expand Down Expand Up @@ -471,10 +474,11 @@ fn create_proposal(

#[cfg(test)]
mod tests {
use std::num::NonZeroUsize;

use eth::Eip4844BlobEncoder;
use fuel_crypto::SecretKey;
use ports::{l1::FragmentEncoder, types::nonempty};
use std::num::NonZeroUsize;

use super::*;
use crate::test_utils::mocks::fuel::{generate_storage_block, generate_storage_block_sequence};
Expand Down

0 comments on commit 06717a7

Please sign in to comment.