From f1d95f0b83348e7469cd479620c57a4229c00662 Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Fri, 12 Apr 2024 02:21:21 +0800 Subject: [PATCH] update simulate test --- crates/katana/executor/tests/simulate.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/katana/executor/tests/simulate.rs b/crates/katana/executor/tests/simulate.rs index b1e8543856..076f2ba013 100644 --- a/crates/katana/executor/tests/simulate.rs +++ b/crates/katana/executor/tests/simulate.rs @@ -65,6 +65,8 @@ fn test_simulate_tx_impl( let ExecutionOutput { states, transactions, stats } = executor.take_execution_output().expect("must take output"); + assert_eq!(stats.l1_gas_used, 0, "no gas usage should be recorded"); + assert_eq!(stats.cairo_steps_used, 0, "no steps usage should be recorded"); assert!(transactions.is_empty(), "simulated tx should not be stored"); assert!(states.state_updates.nonce_updates.is_empty(), "no state updates");