Skip to content

Commit 0ac1a61

Browse files
HaoranYiHaoranYi
authored andcommitted
rebase fixes
1 parent 07aea8f commit 0ac1a61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

svm/src/account_loader.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,6 @@ mod tests {
11371137
let fee_payer_rent_debit = 42;
11381138

11391139
let mut error_metrics = TransactionErrorMetrics::default();
1140-
let loaded_programs = ProgramCacheForTxBatch::default();
11411140

11421141
let sanitized_transaction = SanitizedTransaction::new_for_tests(
11431142
sanitized_message,
@@ -1156,7 +1155,8 @@ mod tests {
11561155
None,
11571156
&FeatureSet::default(),
11581157
&RentCollector::default(),
1159-
&loaded_programs,
1158+
&[],
1159+
&mut HashMap::default(),
11601160
);
11611161

11621162
let expected_rent_debits = {

svm/src/program_loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use {
1111
account::{AccountSharedData, ReadableAccount},
1212
account_utils::StateMut,
1313
bpf_loader, bpf_loader_deprecated,
14-
bpf_loader_upgradeable::UpgradeableLoaderState,
14+
bpf_loader_upgradeable::{self, UpgradeableLoaderState},
1515
clock::Slot,
1616
instruction::InstructionError,
1717
loader_v4::{self, LoaderV4State, LoaderV4Status},

0 commit comments

Comments
 (0)