From 0db0a01ccff33ea09b4d5e4c25596f491c243ff3 Mon Sep 17 00:00:00 2001 From: Manik Jain Date: Mon, 16 Dec 2024 22:17:22 +0000 Subject: [PATCH] Capture sysvar instructions account in effects --- src/txn_fuzzer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/txn_fuzzer.rs b/src/txn_fuzzer.rs index e4fe824..7587a2a 100644 --- a/src/txn_fuzzer.rs +++ b/src/txn_fuzzer.rs @@ -599,7 +599,7 @@ pub fn execute_transaction(context: TxnContext) -> Option { // Only keep accounts that were passed in as account_keys or as ALUT accounts relevant_accounts.acct_states.retain(|account| { let pubkey = Pubkey::new_from_array(account.address.clone().try_into().unwrap()); - loaded_account_keys.contains(&pubkey) && pubkey != sysvar::instructions::id() + loaded_account_keys.contains(&pubkey) }); txn_result.resulting_state = Some(relevant_accounts.clone());