Skip to content

Commit c7121a6

Browse files
committed
fmt
1 parent 10c4cd1 commit c7121a6

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

src/tasks/block/sim.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ impl Simulator {
128128
/// A `Result` containing the built block or an error.
129129
#[instrument(skip_all, fields(
130130
tx_count = sim_items.len(),
131-
millis_to_deadline = finish_by.duration_since(Instant::now()).as_millis(),
132-
host_block_number = sim_env.rollup_block_number(),
133-
rollup_block_number = sim_env.host_block_number(),
131+
millis_to_deadline = finish_by.duration_since(Instant::now()).as_millis()
134132
))]
135133
pub async fn handle_build(
136134
&self,
@@ -142,11 +140,7 @@ impl Simulator {
142140

143141
let rollup_env = sim_env.sim_rollup_env(self.constants(), self.ru_provider.clone());
144142
let host_env = sim_env.sim_host_env(self.constants(), self.host_provider.clone());
145-
146-
let ru_number = rollup_env.block().number;
147-
let host_number = host_env.block().number;
148-
debug!(?ru_number, ?host_number, "starting block simulation");
149-
143+
150144
let block_build = BlockBuild::new(
151145
rollup_env,
152146
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},

src/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn setup_test_config() -> Result<BuilderConfig> {
5353
1740681556, // pecorino start timestamp as sane default
5454
0, 1,
5555
),
56-
block_query_cutoff_buffer: 2,
56+
block_query_cutoff_buffer: 3000,
5757
max_host_gas_coefficient: Some(80),
5858
constants: SignetSystemConstants::pecorino(),
5959
};

0 commit comments

Comments
 (0)