chore: lint

This commit is contained in:
sprites0
2025-07-17 21:07:12 -04:00
parent 4d2d2ae273
commit 15685daef7
2 changed files with 2 additions and 8 deletions

View File

@ -27,12 +27,6 @@ use reth_primitives_traits::{transaction::signed::is_impersonated_tx, NodePrimit
use reth_revm::{ use reth_revm::{
context_interface::result::ResultAndState, db::State, state::Bytecode, DatabaseCommit, context_interface::result::ResultAndState, db::State, state::Bytecode, DatabaseCommit,
}; };
use std::{
cell::RefCell,
sync::Mutex,
time::{Duration, Instant},
};
use tracing::info;
/// Factory for [`EthExecutionStrategy`]. /// Factory for [`EthExecutionStrategy`].
#[derive(Debug, Clone)] #[derive(Debug, Clone)]

View File

@ -5,7 +5,7 @@ use reth_revm::{
context::{Cfg, ContextTr}, context::{Cfg, ContextTr},
handler::{EthPrecompiles, PrecompileProvider}, handler::{EthPrecompiles, PrecompileProvider},
interpreter::{Gas, InstructionResult, InterpreterResult}, interpreter::{Gas, InstructionResult, InterpreterResult},
precompile::{PrecompileError, PrecompileErrors}, precompile::PrecompileErrors,
}; };
use std::{collections::HashMap, sync::Arc}; use std::{collections::HashMap, sync::Arc};
@ -59,7 +59,7 @@ impl<CTX: ContextTr> PrecompileProvider for ReplayPrecompile<CTX> {
let Some(get) = precompile_calls.get(&input) else { let Some(get) = precompile_calls.get(&input) else {
result.gas.spend_all(); result.gas.spend_all();
result.result = InstructionResult::PrecompileError; result.result = InstructionResult::PrecompileError;
return Ok(Some(result)) return Ok(Some(result));
}; };
return match *get { return match *get {