mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove unused deconstruction (#12377)
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
This commit is contained in:
@ -8,7 +8,7 @@ use reth_evm::{
|
|||||||
execute::{BatchExecutor, BlockExecutorProvider},
|
execute::{BatchExecutor, BlockExecutorProvider},
|
||||||
metrics::ExecutorMetrics,
|
metrics::ExecutorMetrics,
|
||||||
};
|
};
|
||||||
use reth_execution_types::{Chain, ExecutionOutcome};
|
use reth_execution_types::Chain;
|
||||||
use reth_exex::{ExExManagerHandle, ExExNotification, ExExNotificationSource};
|
use reth_exex::{ExExManagerHandle, ExExNotification, ExExNotificationSource};
|
||||||
use reth_primitives::{Header, SealedHeader, StaticFileSegment};
|
use reth_primitives::{Header, SealedHeader, StaticFileSegment};
|
||||||
use reth_primitives_traits::format_gas_throughput;
|
use reth_primitives_traits::format_gas_throughput;
|
||||||
@ -325,8 +325,7 @@ where
|
|||||||
|
|
||||||
// prepare execution output for writing
|
// prepare execution output for writing
|
||||||
let time = Instant::now();
|
let time = Instant::now();
|
||||||
let ExecutionOutcome { bundle, receipts, requests, first_block } = executor.finalize();
|
let state = executor.finalize();
|
||||||
let state = ExecutionOutcome::new(bundle, receipts, first_block, requests);
|
|
||||||
let write_preparation_duration = time.elapsed();
|
let write_preparation_duration = time.elapsed();
|
||||||
|
|
||||||
// log the gas per second for the range we just executed
|
// log the gas per second for the range we just executed
|
||||||
|
|||||||
Reference in New Issue
Block a user