Skip to content

Commit f69277d

Browse files
committed
fmt
1 parent 9a1fcd7 commit f69277d

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/tasks/block/sim.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,7 @@ impl SimulatorTask {
117117
/// A `Result` containing the built block or an error.
118118
#[instrument(skip_all, fields(
119119
tx_count = sim_items.len(),
120-
millis_to_deadline = finish_by.duration_since(Instant::now()).as_millis(),
121-
host_block_number = sim_env.rollup_block_number(),
122-
rollup_block_number = sim_env.host_block_number(),
120+
millis_to_deadline = finish_by.duration_since(Instant::now()).as_millis()
123121
))]
124122
pub async fn handle_build(
125123
&self,
@@ -131,11 +129,7 @@ impl SimulatorTask {
131129

132130
let rollup_env = sim_env.sim_rollup_env(self.constants(), self.ru_provider.clone());
133131
let host_env = sim_env.sim_host_env(self.constants(), self.host_provider.clone());
134-
135-
let ru_number = rollup_env.block().number;
136-
let host_number = host_env.block().number;
137-
debug!(?ru_number, ?host_number, "starting block simulation");
138-
132+
139133
let block_build = BlockBuild::new(
140134
rollup_env,
141135
host_env,

src/tasks/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{
55
};
66
use alloy::{
77
consensus::Header,
8-
eips::{BlockId, eip1559::BaseFeeParams},
8+
eips::{eip1559::BaseFeeParams},
99
network::Ethereum,
1010
primitives::{B256, U256},
1111
providers::{Provider, network::Network},

0 commit comments

Comments
 (0)