Skip to content

Commit

Permalink
Update sysvar API in SVM integration test (solana-labs#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte authored Mar 27, 2024
1 parent 4b9e1e0 commit 02918a5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions svm/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,15 +443,7 @@ fn svm_integration() {
);

// The sysvars must be put in the cache
batch_processor
.sysvar_cache
.write()
.unwrap()
.fill_missing_entries(|pubkey, callback| {
if let Some(account) = mock_bank.get_account_shared_data(pubkey) {
callback(account.data());
}
});
batch_processor.fill_missing_sysvar_cache_entries(&mock_bank);

let mut error_counter = TransactionErrorMetrics::default();
let recording_config = ExecutionRecordingConfig {
Expand Down

0 comments on commit 02918a5

Please sign in to comment.