mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: lint
This commit is contained in:
@ -27,12 +27,6 @@ use reth_primitives_traits::{transaction::signed::is_impersonated_tx, NodePrimit
|
||||
use reth_revm::{
|
||||
context_interface::result::ResultAndState, db::State, state::Bytecode, DatabaseCommit,
|
||||
};
|
||||
use std::{
|
||||
cell::RefCell,
|
||||
sync::Mutex,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
use tracing::info;
|
||||
|
||||
/// Factory for [`EthExecutionStrategy`].
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
@ -5,7 +5,7 @@ use reth_revm::{
|
||||
context::{Cfg, ContextTr},
|
||||
handler::{EthPrecompiles, PrecompileProvider},
|
||||
interpreter::{Gas, InstructionResult, InterpreterResult},
|
||||
precompile::{PrecompileError, PrecompileErrors},
|
||||
precompile::PrecompileErrors,
|
||||
};
|
||||
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 {
|
||||
result.gas.spend_all();
|
||||
result.result = InstructionResult::PrecompileError;
|
||||
return Ok(Some(result))
|
||||
return Ok(Some(result));
|
||||
};
|
||||
|
||||
return match *get {
|
||||
|
||||
Reference in New Issue
Block a user