Skip to content

Commit

Permalink
v2.0: increase writeable accounts cost hashmap size (backport of #300…
Browse files Browse the repository at this point in the history
…9) (#3019)

increase writeable accounts cost hashmap size (#3009)

(cherry picked from commit 9f822c2)

Co-authored-by: Brennan <[email protected]>
  • Loading branch information
mergify[bot] and bw-solana authored Oct 1, 2024
1 parent 4f423a5 commit 6523316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cost-model/src/cost_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6523316

Please sign in to comment.