Skip to content

Commit

Permalink
update simulate test
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Apr 11, 2024
1 parent ad9bf9e commit f1d95f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/katana/executor/tests/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ fn test_simulate_tx_impl<EF: ExecutorFactory>(
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");
Expand Down

0 comments on commit f1d95f0

Please sign in to comment.