Skip to content

Commit

Permalink
Merge pull request #106 from firedancer-io/update-sysvar-cache
Browse files Browse the repository at this point in the history
update sysvar cache
  • Loading branch information
kbhargava-jump authored Sep 4, 2024
2 parents 08295bb + f5797bd commit c8d91c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/txn_fuzzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ fn execute_transaction(context: TxnContext) -> Option<TxnResult> {
bank.register_recent_blockhash_for_test(&blockhash_hash, lamports_per_signature);
}
bank.update_recent_blockhashes();
bank.get_transaction_processor().reset_sysvar_cache();
bank.get_transaction_processor()
.fill_missing_sysvar_cache_entries(bank.as_ref());

let message = build_versioned_message(context.tx.as_ref()?.message.as_ref()?)?;

Expand Down

0 comments on commit c8d91c5

Please sign in to comment.