From 9a24743d2a3bdf7a9da4bdef69e8c3a19e56c8f2 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Wed, 23 Nov 2022 08:20:36 -0600 Subject: [PATCH] expect only 1 store per slot (#28844) expect only 1 store per slot in shrink --- runtime/src/accounts_db.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index ecbe37e94b..9e28747b86 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -3881,6 +3881,8 @@ impl AccountsDb { .bytes_written .fetch_add(aligned_total, Ordering::Relaxed); + assert_eq!(store_ids.len(), 1); + ShrinkCollect { store_ids, original_bytes,