Skip to content

Commit

Permalink
flamenco: add missing instr_info_cnt for cpi
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony authored and ravyu-jump committed Dec 12, 2024
1 parent e0e325a commit 21245e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/flamenco/runtime/tests/fd_exec_instr_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,10 @@ fd_exec_vm_syscall_test_run( fd_exec_instr_test_runner_t * runner,
goto error;
fd_valloc_t valloc = fd_scratch_virtual();

if (is_cpi) {
ctx->txn_ctx->instr_info_cnt = 1;
}

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

0 comments on commit 21245e8

Please sign in to comment.