From a540683dd922d1083d82fef8c5b836021e9f5f6c Mon Sep 17 00:00:00 2001 From: anthony Date: Thu, 12 Dec 2024 13:11:31 -0500 Subject: [PATCH] add the current instr info to the instr trace --- src/flamenco/runtime/tests/fd_exec_instr_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/flamenco/runtime/tests/fd_exec_instr_test.c b/src/flamenco/runtime/tests/fd_exec_instr_test.c index bd79a5601d..20b2877437 100644 --- a/src/flamenco/runtime/tests/fd_exec_instr_test.c +++ b/src/flamenco/runtime/tests/fd_exec_instr_test.c @@ -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 );