Skip to content

Prepopulate zero lamport accounts in store_for_tests#10061

Merged
roryharr merged 2 commits intoanza-xyz:masterfrom
roryharr:update_store_for_tests_prepopulate_zero_lamport
Jan 16, 2026
Merged

Prepopulate zero lamport accounts in store_for_tests#10061
roryharr merged 2 commits intoanza-xyz:masterfrom
roryharr:update_store_for_tests_prepopulate_zero_lamport

Conversation

@roryharr
Copy link
Copy Markdown

Problem

Zero lamport single ref accounts do not need to be added to the index or the slot_cache, but many tests rely on them being added.

Summary of Changes

  • Modify store_for_tests to pre-populate zero lamport accounts to ensure they get added to the slot_cache/index

Fixes #

@roryharr roryharr force-pushed the update_store_for_tests_prepopulate_zero_lamport branch from ade25a3 to dc35d36 Compare January 15, 2026 19:23
@roryharr roryharr force-pushed the update_store_for_tests_prepopulate_zero_lamport branch from dc35d36 to c413355 Compare January 15, 2026 19:28
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.6%. Comparing base (a79a700) to head (ab8b682).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #10061       +/-   ##
===========================================
+ Coverage    70.9%    82.6%    +11.6%     
===========================================
  Files         711      844      +133     
  Lines      211507   316660   +105153     
===========================================
+ Hits       150014   261608   +111594     
+ Misses      61493    55052     -6441     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roryharr roryharr requested a review from brooksprumo January 15, 2026 20:33
@roryharr roryharr marked this pull request as ready for review January 15, 2026 20:33
brooksprumo
brooksprumo previously approved these changes Jan 15, 2026
Comment thread accounts-db/src/accounts_db.rs Outdated
Co-authored-by: Brooks <brooks@prumo.org>
@roryharr roryharr added this pull request to the merge queue Jan 16, 2026
Merged via the queue into anza-xyz:master with commit 4065e4a Jan 16, 2026
58 of 60 checks passed
@roryharr roryharr deleted the update_store_for_tests_prepopulate_zero_lamport branch January 16, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants