Skip to content

Commit c63c875

Browse files
flamenco, runtime: add unit test for runtime_load_txn_address_lookup_tables (#6988)
1 parent 7e406bc commit c63c875

File tree

3 files changed

+2278
-0
lines changed

3 files changed

+2278
-0
lines changed

src/flamenco/runtime/Local.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ $(call add-hdrs,fd_txn_account.h)
4141
$(call add-objs,fd_txn_account,fd_flamenco)
4242
$(call make-unit-test,test_txn_account,test_txn_account,fd_flamenco fd_funk fd_ballet fd_util)
4343
$(call run-unit-test,test_txn_account,)
44+
$(call make-unit-test,test_runtime_alut,test_runtime_alut,fd_flamenco fd_funk fd_ballet fd_util)
4445

4546
$(call add-hdrs,fd_bank.h)
4647
$(call add-objs,fd_bank,fd_flamenco)

src/flamenco/runtime/fd_runtime.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,8 @@ fd_runtime_load_txn_address_lookup_tables(
465465
if( FD_UNLIKELY( err ) ) return err;
466466
}
467467

468+
fd_alut_interp_delete( interp );
469+
468470
return FD_RUNTIME_EXECUTE_SUCCESS;
469471
}
470472

0 commit comments

Comments
 (0)