From d242f1340e96bcc2c6d0ed78823e4b7483bafa07 Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Fri, 27 Sep 2024 17:56:52 +0300 Subject: [PATCH] Make EVM simulator optional in toolbox --- .../config/src/forge_interface/deploy_ecosystem/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zk_toolbox/crates/config/src/forge_interface/deploy_ecosystem/input.rs b/zk_toolbox/crates/config/src/forge_interface/deploy_ecosystem/input.rs index a205f640331..ac79196d300 100644 --- a/zk_toolbox/crates/config/src/forge_interface/deploy_ecosystem/input.rs +++ b/zk_toolbox/crates/config/src/forge_interface/deploy_ecosystem/input.rs @@ -146,7 +146,7 @@ impl DeployL1Config { .diamond_init_minimal_l2_gas_price, bootloader_hash: genesis_config.bootloader_hash.unwrap(), default_aa_hash: genesis_config.default_aa_hash.unwrap(), - evm_simulator_hash: genesis_config.evm_simulator_hash.unwrap(), + evm_simulator_hash: genesis_config.evm_simulator_hash, diamond_init_priority_tx_max_pubdata: initial_deployment_config .diamond_init_priority_tx_max_pubdata, diamond_init_pubdata_pricing_mode: initial_deployment_config @@ -195,7 +195,7 @@ pub struct ContractsDeployL1Config { pub diamond_init_minimal_l2_gas_price: u64, pub bootloader_hash: H256, pub default_aa_hash: H256, - pub evm_simulator_hash: H256, + pub evm_simulator_hash: Option, } #[derive(Debug, Deserialize, Serialize, Clone)]