From bd46d7f5ce46ad7ca79016eb9d2f149366c48412 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Fri, 13 Dec 2024 00:38:50 +0900 Subject: [PATCH] Skip redundant cost limit update in banking-bench (#4079) --- banking-bench/src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/banking-bench/src/main.rs b/banking-bench/src/main.rs index 57f768e2773cd5..287930bf4c0fe0 100644 --- a/banking-bench/src/main.rs +++ b/banking-bench/src/main.rs @@ -554,11 +554,6 @@ fn main() { bank = bank_forks.read().unwrap().working_bank(); insert_time.stop(); - // set cost tracker limits to MAX so it will not filter out TXs - bank.write_cost_tracker() - .unwrap() - .set_limits(u64::MAX, u64::MAX, u64::MAX); - assert!(poh_recorder.read().unwrap().bank().is_none()); poh_recorder .write()