Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Oct 9, 2024
1 parent 06159ca commit c6d2a4d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/zksync/core/src/vm/farcall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::{collections::HashMap, default, fmt::Debug};

use alloy_primitives::{hex, Address};
use itertools::Itertools;
use zksync_basic_types::{H160, U256};
use zksync_multivm::{
vm_1_3_2::zk_evm_1_3_3::zkevm_opcode_defs::RetABI,
vm_latest::{BootloaderState, HistoryMode, SimpleMemory, ZkSyncVmState},
Expand All @@ -20,7 +21,6 @@ use zksync_multivm::{
},
},
};
use zksync_basic_types::{H160, U256};
use zksync_state::interface::{StoragePtr, WriteStorage};
use zksync_types::MSG_VALUE_SIMULATOR_ADDRESS;

Expand Down
7 changes: 5 additions & 2 deletions crates/zksync/core/src/vm/tracers/cheatcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ use foundry_cheatcodes_common::{
record::RecordAccess,
};
use zksync_multivm::{
interface::tracer::TracerExecutionStatus, tracers::dynamic::vm_1_5_0::DynTracer, vm_latest::{BootloaderState, HistoryMode, SimpleMemory, VmTracer, ZkSyncVmState}, zk_evm_latest::{
interface::tracer::TracerExecutionStatus,
tracers::dynamic::vm_1_5_0::DynTracer,
vm_latest::{BootloaderState, HistoryMode, SimpleMemory, VmTracer, ZkSyncVmState},
zk_evm_latest::{
tracing::{AfterDecodingData, AfterExecutionData, BeforeExecutionData, VmLocalStateData},
zkevm_opcode_defs::{FatPointer, Opcode, CALL_IMPLICIT_CALLDATA_FAT_PTR_REGISTER},
}
},
};
use zksync_state::interface::{ReadStorage, StoragePtr, WriteStorage};
use zksync_types::{
Expand Down
6 changes: 4 additions & 2 deletions crates/zksync/core/src/vm/tracers/error.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
use zksync_multivm::{
tracers::dynamic::vm_1_5_0::DynTracer, vm_latest::{HistoryMode, SimpleMemory, VmTracer}, zk_evm_latest::{
tracers::dynamic::vm_1_5_0::DynTracer,
vm_latest::{HistoryMode, SimpleMemory, VmTracer},
zk_evm_latest::{
tracing::{AfterDecodingData, VmLocalStateData},
vm_state::ErrorFlags,
}
},
};
use zksync_state::interface::{ReadStorage, WriteStorage};

Expand Down

0 comments on commit c6d2a4d

Please sign in to comment.