diff --git a/crates/cli/src/utils/mod.rs b/crates/cli/src/utils/mod.rs index 2e1d1cbcb..0e22b03b1 100644 --- a/crates/cli/src/utils/mod.rs +++ b/crates/cli/src/utils/mod.rs @@ -96,8 +96,10 @@ pub fn get_provider(config: &Config) -> Result { pub fn get_executor_strategy(config: &Config) -> Arc> { if config.zksync.should_compile() { + info!("using zksync strategy"); Arc::new(Mutex::new(ZksyncExecutorStrategy::default())) } else { + info!("using evm strategy"); Arc::new(Mutex::new(EvmExecutorStrategy::default())) } } diff --git a/crates/config/src/zksync.rs b/crates/config/src/zksync.rs index 30db09f7f..67e1d0565 100644 --- a/crates/config/src/zksync.rs +++ b/crates/config/src/zksync.rs @@ -70,8 +70,8 @@ pub struct ZkSyncConfig { impl Default for ZkSyncConfig { fn default() -> Self { Self { - compile: true, - startup: true, + compile: false, + startup: false, zksolc: Default::default(), solc_path: Default::default(), bytecode_hash: Default::default(), diff --git a/crates/strategy/zksync/src/cheatcode.rs b/crates/strategy/zksync/src/cheatcode.rs index d6c0f4ff5..8bfd252c0 100644 --- a/crates/strategy/zksync/src/cheatcode.rs +++ b/crates/strategy/zksync/src/cheatcode.rs @@ -162,7 +162,7 @@ impl ZksyncCheatcodeInspectorStrategy { Self { evm: EvmCheatcodeInspectorStrategy::default(), - using_zk_vm: true, // always start in zksync mode + using_zk_vm: false, // We need to migrate once on initialize_interp skip_zk_vm: false, skip_zk_vm_addresses: Default::default(), record_next_create_address: Default::default(),