From 0a17edcc1f9c35bce9d942c85e873b3c07aff2a2 Mon Sep 17 00:00:00 2001 From: Carl Lin Date: Tue, 8 Mar 2022 17:59:51 -0500 Subject: [PATCH] Revert "fix tests after merge" This reverts commit ba2d83f58094955c57ed9e8266822c038b480aa8. --- core/src/banking_stage.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/src/banking_stage.rs b/core/src/banking_stage.rs index 123107ee9d..d4a46e0ac7 100644 --- a/core/src/banking_stage.rs +++ b/core/src/banking_stage.rs @@ -3130,10 +3130,6 @@ mod tests { .. } = create_slow_genesis_config(lamports); let bank = Arc::new(Bank::new_no_wallclock_throttle_for_tests(&genesis_config)); - // set cost tracker limits to MAX so it will not filter out TXs - bank.write_cost_tracker() - .unwrap() - .set_limits(std::u64::MAX, std::u64::MAX, std::u64::MAX); // Transfer more than the balance of the mint keypair, should cause a // InstructionError::InsufficientFunds that is then committed. Needs to be @@ -3190,10 +3186,6 @@ mod tests { .. } = create_slow_genesis_config(10_000); let bank = Arc::new(Bank::new_no_wallclock_throttle_for_tests(&genesis_config)); - // set cost tracker limits to MAX so it will not filter out TXs - bank.write_cost_tracker() - .unwrap() - .set_limits(std::u64::MAX, std::u64::MAX, std::u64::MAX); // Make all repetitive transactions that conflict on the `mint_keypair`, so only 1 should be executed let mut transactions = vec![