diff --git a/vm/rust/src/lib.rs b/vm/rust/src/lib.rs index 07053f315d..b75fbb3c10 100644 --- a/vm/rust/src/lib.rs +++ b/vm/rust/src/lib.rs @@ -349,7 +349,7 @@ pub extern "C" fn cairoVMExecute( let actual_fee = t.transaction_receipt.fee.0.into(); let data_gas_consumed = t.transaction_receipt.da_gas.l1_data_gas.into(); - let execution_steps = t.n_steps; // todo: n_steps may not be in this object check later + let execution_steps = t.transaction_receipt.resources.vm_resources.n_steps.try_into().unwrap(); // todo: n_steps may not be in this object check later let trace = jsonrpc::new_transaction_trace(&txn_and_query_bit.txn, t, &mut txn_state);