From 65233160c4b0146456af642089fd68378d000d48 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:49:23 -0700 Subject: [PATCH] v2.0: increase writeable accounts cost hashmap size (backport of #3009) (#3019) increase writeable accounts cost hashmap size (#3009) (cherry picked from commit 9f822c2f2c8d87bb2575df9df8e8949485a8b3b5) Co-authored-by: Brennan --- cost-model/src/cost_tracker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cost-model/src/cost_tracker.rs b/cost-model/src/cost_tracker.rs index 0c731f946ec3b8..32bda6f105dab4 100644 --- a/cost-model/src/cost_tracker.rs +++ b/cost-model/src/cost_tracker.rs @@ -12,7 +12,7 @@ use { std::{cmp::Ordering, collections::HashMap}, }; -const WRITABLE_ACCOUNTS_PER_BLOCK: usize = 512; +const WRITABLE_ACCOUNTS_PER_BLOCK: usize = 4096; #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum CostTrackerError {