Skip to content

Commit 421238d

Browse files
committed
fix: imports
1 parent c23e192 commit 421238d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

bin/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use builder::{
77
},
88
};
99
use init4_bin_base::deps::tracing;
10+
use init4_bin_base::utils::calc::SlotCalculator;
1011
use signet_sim::SimCache;
11-
use signet_types::SlotCalculator;
1212
use std::sync::Arc;
1313
use tokio::select;
1414
use tracing::info_span;

src/tasks/block.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ use alloy::{
1515
};
1616
use chrono::{DateTime, Utc};
1717
use eyre::Report;
18+
use init4_bin_base::utils::calc::SlotCalculator;
1819
use signet_sim::{BlockBuild, BuiltBlock, SimCache};
19-
use signet_types::{SlotCalculator, config::SignetSystemConstants};
20+
use signet_types::config::SignetSystemConstants;
2021
use std::{
2122
sync::{
2223
Arc,
@@ -210,7 +211,7 @@ impl Simulator {
210211
}
211212
}
212213

213-
/// Spawns the simulator task, which handles the setup and sets the deadline
214+
/// Spawns the simulator task, which handles the setup and sets the deadline
214215
/// for the each round of simulation.
215216
///
216217
/// # Arguments

tests/block_builder_test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ mod tests {
1313
tasks::block::Simulator,
1414
test_utils::{new_signed_tx, setup_logging, setup_test_config, test_block_env},
1515
};
16+
use init4_bin_base::utils::calc::SlotCalculator;
1617
use signet_sim::{SimCache, SimItem};
17-
use signet_types::SlotCalculator;
1818
use std::{
1919
sync::Arc,
2020
time::{Duration, Instant, SystemTime, UNIX_EPOCH},
@@ -138,6 +138,6 @@ mod tests {
138138
// Assert on the block
139139
let block = result.unwrap();
140140
assert!(block.is_some(), "Block channel closed without receiving a block");
141-
assert!(block.unwrap().tx_count() == 2); // TODO: Why is this failing? I'm seeing EVM errors but haven't tracked them down yet.
141+
assert!(block.unwrap().tx_count() == 2); // TODO: Why is this failing? I'm seeing EVM errors but haven't tracked them down yet.
142142
}
143143
}

0 commit comments

Comments
 (0)