Skip to content

Commit 78cc4b3

Browse files
committed
fix lint errors
1 parent f14ac9c commit 78cc4b3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/precompile/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ use cfg_if::cfg_if;
4343
use core::hash::Hash;
4444
use once_cell::race::OnceBox;
4545
use std::{boxed::Box, vec::Vec};
46-
use revm_primitives::WRIGHT;
4746

4847
pub fn calc_linear_cost_u32(len: usize, base: u64, word: u64) -> u64 {
4948
(len as u64 + 32 - 1) / 32 * word + base

crates/revm/src/optimism/handler_register.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ use crate::{
99
optimism,
1010
primitives::{
1111
db::Database, spec_to_generic, Account, EVMError, Env, ExecutionResult, HaltReason,
12-
HashMap, InvalidTransaction, ResultAndState, Spec, SpecId, SpecId::REGOLITH, SpecId::WRIGHT,
13-
U256,
12+
HashMap, InvalidTransaction, ResultAndState, Spec, SpecId, SpecId::REGOLITH,
13+
SpecId::WRIGHT, U256,
1414
},
1515
Context, ContextPrecompiles, FrameResult,
1616
};

0 commit comments

Comments
 (0)