From 2e91125c37aeda2179a641091f2ab9bb5d5e6ae5 Mon Sep 17 00:00:00 2001 From: enitrat Date: Sun, 29 Sep 2024 21:48:19 +0200 Subject: [PATCH] reduce max steps --- .../sequencer/resources/versioned_constants.json | 4 ++-- crates/sequencer/src/resources/versioned_constants.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ef-testing/src/evm_sequencer/sequencer/resources/versioned_constants.json b/crates/ef-testing/src/evm_sequencer/sequencer/resources/versioned_constants.json index 792d8a94..33579709 100644 --- a/crates/ef-testing/src/evm_sequencer/sequencer/resources/versioned_constants.json +++ b/crates/ef-testing/src/evm_sequencer/sequencer/resources/versioned_constants.json @@ -8,7 +8,7 @@ "max_calldata_length": 5000, "max_contract_bytecode_size": 81920 }, - "invoke_tx_max_n_steps": 100000000, + "invoke_tx_max_n_steps": 50000000, "l2_resource_gas_costs": { "gas_per_data_felt": [128, 1000], "event_key_factor": [2, 1], @@ -63,7 +63,7 @@ "syscall_base_gas_cost": 1 }, "initial_gas_cost": { - "step_gas_cost": 800000000 + "step_gas_cost": 500000000 }, "keccak_gas_cost": { "syscall_base_gas_cost": 1 diff --git a/crates/sequencer/src/resources/versioned_constants.json b/crates/sequencer/src/resources/versioned_constants.json index 792d8a94..33579709 100644 --- a/crates/sequencer/src/resources/versioned_constants.json +++ b/crates/sequencer/src/resources/versioned_constants.json @@ -8,7 +8,7 @@ "max_calldata_length": 5000, "max_contract_bytecode_size": 81920 }, - "invoke_tx_max_n_steps": 100000000, + "invoke_tx_max_n_steps": 50000000, "l2_resource_gas_costs": { "gas_per_data_felt": [128, 1000], "event_key_factor": [2, 1], @@ -63,7 +63,7 @@ "syscall_base_gas_cost": 1 }, "initial_gas_cost": { - "step_gas_cost": 800000000 + "step_gas_cost": 500000000 }, "keccak_gas_cost": { "syscall_base_gas_cost": 1