From 363c148dbe0d2d1fce1717e000f48326ff34e310 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Thu, 29 Oct 2020 23:16:38 +0900 Subject: [PATCH] Disable eager rent collection for less noise (#13275) --- ledger-tool/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index ee0c1ccddb..9e38582ffa 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -2014,6 +2014,9 @@ fn main() { let next_epoch = base_bank .epoch_schedule() .get_first_slot_in_epoch(warp_epoch); + base_bank + .lazy_rent_collection + .store(true, std::sync::atomic::Ordering::Relaxed); let warped_bank = Bank::new_from_parent(&base_bank, base_bank.collector_id(), next_epoch); warped_bank.freeze();