Skip to content

Commit

Permalink
resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichtso committed Nov 9, 2023
1 parent 1bc6fc7 commit f06fd65
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions runtime/src/bank/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11954,25 +11954,8 @@ fn test_feature_activation_loaded_programs_recompilation_phase() {
&feature::create_account(&Feature { activated_at: None }, feature_account_balance),
);

<<<<<<< HEAD
// Reroot to call LoadedPrograms::prune() and end the current recompilation phase
goto_end_of_slot(&bank);
bank_forks
.write()
.unwrap()
.insert(Arc::into_inner(bank).unwrap());
let bank = bank_forks.read().unwrap().working_bank();
bank_forks.read().unwrap().prune_program_cache(bank.slot);
bank_forks
.write()
.unwrap()
.set_root(bank.slot, &AbsRequestSender::default(), None);

// Advance to next epoch, which starts the next recompilation phase
=======
goto_end_of_slot(bank.clone());
// Advance to next epoch, which starts the recompilation phase
>>>>>>> a9509f56b7 (Feature - Epoch boundary recompilation phase (#33477))
// Advance to next epoch, which starts the next recompilation phase
let bank = new_from_parent_next_epoch(bank, 1);

// Execute after feature is enabled to check it was filtered out and reverified.
Expand Down

0 comments on commit f06fd65

Please sign in to comment.