Skip to content

Remove shrink_all_slots - #15391

Merged
roryharr merged 3 commits into
anza-xyz:masterfrom
roryharr:remove_shrink_all_slots
Sep 21, 2026
Merged

roryharr merged 3 commits into
anza-xyz:masterfrom
roryharr:remove_shrink_all_slots

Conversation

@roryharr

@roryharr roryharr commented Sep 18, 2026 •

Copy link
Copy Markdown

Problem

Summary of Changes

  • Remove it

Testing

Fixes #

let pubkeys: Vec<_> = (0..pubkey_count)
.map(|_| solana_pubkey::new_rand())
.collect();
let accounts = AccountsDb::default_for_tests();

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly an an indention change. Hide whitespace to see what actually changed

@roryharr
roryharr force-pushed the remove_shrink_all_slots branch from f6f9540 to aa22f45 Compare September 18, 2026 21:49
@roryharr
roryharr marked this pull request as ready for review September 18, 2026 22:29
@roryharr
roryharr requested a review from a team as a code owner September 18, 2026 22:29
@codecov-commenter

codecov-commenter commented Sep 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.3%. Comparing base (79baddb) to head (da95151).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #15391     +/-   ##
=========================================
- Coverage    82.3%    82.3%   -0.1%     
=========================================
  Files         930      930             
  Lines      370002   369948     -54     
=========================================
- Hits       304567   304478     -89     
- Misses      65435    65470     +35     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brooksprumo brooksprumo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code removal looks good. Mainly wondering about the test updates. Seems like calling shrink_storage() is a more direct replacement for the removed shrink_slot_forced().

Comment thread runtime/src/bank.rs Resolved

@brooksprumo brooksprumo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@roryharr
roryharr added this pull request to the merge queue Sep 21, 2026
Merged via the queue into anza-xyz:master with commit 59e41df Sep 21, 2026
46 checks passed
@roryharr
roryharr deleted the remove_shrink_all_slots branch September 21, 2026 16:14
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