Skip to content

Commit 80ec98c

Browse files
committed
clippy + fmt
1 parent e66b9d4 commit 80ec98c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/tasks/block/sim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ use init4_bin_base::{
1212
};
1313
use signet_sim::{BlockBuild, BuiltBlock, SimCache};
1414
use signet_types::constants::SignetSystemConstants;
15-
use tracing::info;
1615
use std::time::{Duration, Instant};
1716
use tokio::{
1817
sync::{
@@ -21,6 +20,7 @@ use tokio::{
2120
},
2221
task::JoinHandle,
2322
};
23+
use tracing::info;
2424
use trevm::revm::{
2525
context::BlockEnv,
2626
database::{AlloyDB, WrapDatabaseAsync},

src/tasks/submit.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use crate::tasks::block::sim::SimResult;
12
use crate::{
23
config::{HostProvider, ZenithInstance},
34
quincey::Quincey,
@@ -29,7 +30,6 @@ use tokio::{
2930
sync::mpsc::{self},
3031
task::JoinHandle,
3132
};
32-
use crate::tasks::block::sim::SimResult;
3333

3434
macro_rules! spawn_provider_send {
3535
($provider:expr, $tx:expr) => {
@@ -433,8 +433,7 @@ impl SubmitTask {
433433
let span = debug_span!("SubmitTask::retrying_handle_inbound", retries);
434434

435435
let inbound_result =
436-
match self.handle_inbound(retries, block).instrument(span.clone()).await
437-
{
436+
match self.handle_inbound(retries, block).instrument(span.clone()).await {
438437
Ok(control_flow) => control_flow,
439438
Err(err) => {
440439
// Delay until next slot if we get a 403 error

0 commit comments

Comments
 (0)