Skip to content

Commit

Permalink
Fix typo in rust call for execution steps
Browse files Browse the repository at this point in the history
  • Loading branch information
obasekiosa committed Jul 31, 2024
1 parent ebf301a commit d8d36a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.resources.n_steps; // 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);
Expand Down

0 comments on commit d8d36a3

Please sign in to comment.