Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Dec 22, 2024
1 parent 16d9cfa commit e978172
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/evm/evm/src/executors/strategy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub trait ExecutorStrategyContext: Debug + Send + Sync + Any {

impl ExecutorStrategyContext for () {
fn new_cloned(&self) -> Box<dyn ExecutorStrategyContext> {
Box::new(*self)
Box::new(())
}

fn as_any_ref(&self) -> &dyn Any {
Expand Down
5 changes: 2 additions & 3 deletions crates/strategy/zksync/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ use foundry_evm_core::backend::{
BackendInner, Fork, ForkDB, FoundryEvmInMemoryDB,
};
use foundry_zksync_core::{
convert::ConvertH160, PaymasterParams, ACCOUNT_CODE_STORAGE_ADDRESS,
IMMUTABLE_SIMULATOR_STORAGE_ADDRESS, KNOWN_CODES_STORAGE_ADDRESS, L2_BASE_TOKEN_ADDRESS,
NONCE_HOLDER_ADDRESS,
convert::ConvertH160, ACCOUNT_CODE_STORAGE_ADDRESS, IMMUTABLE_SIMULATOR_STORAGE_ADDRESS,
KNOWN_CODES_STORAGE_ADDRESS, L2_BASE_TOKEN_ADDRESS, NONCE_HOLDER_ADDRESS,
};
use revm::{db::CacheDB, primitives::HashSet, DatabaseRef, JournaledState};
use serde::{Deserialize, Serialize};
Expand Down

0 comments on commit e978172

Please sign in to comment.