Skip to content

Commit

Permalink
add the current instr info to the instr trace
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony authored and mjain-jump committed Dec 12, 2024
1 parent 00c2974 commit a540683
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/flamenco/runtime/tests/fd_exec_instr_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,9 @@ fd_exec_vm_syscall_test_run( fd_exec_instr_test_runner_t * runner,
ctx->txn_ctx->instr_info_cnt = 1;
}

ctx->txn_ctx->instr_trace[0].instr_info = (fd_instr_info_t *)ctx->instr;
ctx->txn_ctx->instr_trace[0].stack_height = 1;

/* Capture outputs */
ulong output_end = (ulong)output_buf + output_bufsz;
FD_SCRATCH_ALLOC_INIT( l, output_buf );
Expand Down

0 comments on commit a540683

Please sign in to comment.