Skip to content

Commit

Permalink
chore: remove unused deconstruction (#12377)
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
  • Loading branch information
greged93 authored Nov 7, 2024
1 parent 9596b1c commit 37e1f77
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/stages/stages/src/stages/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use reth_evm::{
execute::{BatchExecutor, BlockExecutorProvider},
metrics::ExecutorMetrics,
};
use reth_execution_types::{Chain, ExecutionOutcome};
use reth_execution_types::Chain;
use reth_exex::{ExExManagerHandle, ExExNotification, ExExNotificationSource};
use reth_primitives::{Header, SealedHeader, StaticFileSegment};
use reth_primitives_traits::format_gas_throughput;
Expand Down Expand Up @@ -325,8 +325,7 @@ where

// prepare execution output for writing
let time = Instant::now();
let ExecutionOutcome { bundle, receipts, requests, first_block } = executor.finalize();
let state = ExecutionOutcome::new(bundle, receipts, first_block, requests);
let state = executor.finalize();
let write_preparation_duration = time.elapsed();

// log the gas per second for the range we just executed
Expand Down

0 comments on commit 37e1f77

Please sign in to comment.