Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

PrunedBanksRequestHandler::handle_request() is only pub with dcou#33155

Merged
mergify[bot] merged 1 commit intosolana-labs:masterfrom
brooksprumo:pruned-banks-handler/dcou
Sep 6, 2023
Merged

PrunedBanksRequestHandler::handle_request() is only pub with dcou#33155
mergify[bot] merged 1 commit intosolana-labs:masterfrom
brooksprumo:pruned-banks-handler/dcou

Conversation

@brooksprumo
Copy link
Copy Markdown
Contributor

Problem

PrunedBanksRequestHandler::handle_request() is only meant to be called from AccountsBackgroundService, but it is public so that bank tests can call it. Now that we have DCOU, we no longer need for this function to be pub for non-tests.

Summary of Changes

PrunedBanksRequestHandler::handle_request() is only public when in dev context.

@brooksprumo brooksprumo self-assigned this Sep 5, 2023
@brooksprumo brooksprumo force-pushed the pruned-banks-handler/dcou branch from 79d88a5 to 88cb268 Compare September 6, 2023 01:28
@brooksprumo brooksprumo marked this pull request as ready for review September 6, 2023 11:06
@brooksprumo brooksprumo requested a review from ryoqun September 6, 2023 11:06
Copy link
Copy Markdown
Contributor

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

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

lgtm

@brooksprumo brooksprumo added the automerge Merge this Pull Request automatically once CI passes label Sep 6, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 6, 2023

Codecov Report

Merging #33155 (8ed0f45) into master (5573a61) will increase coverage by 0.0%.
Report is 14 commits behind head on master.
The diff coverage is 88.8%.

@@           Coverage Diff           @@
##           master   #33155   +/-   ##
=======================================
  Coverage    82.0%    82.1%           
=======================================
  Files         785      785           
  Lines      211122   211196   +74     
=======================================
+ Hits       173328   173404   +76     
+ Misses      37794    37792    -2     

@mergify mergify Bot merged commit a80819b into solana-labs:master Sep 6, 2023
@brooksprumo brooksprumo deleted the pruned-banks-handler/dcou branch September 6, 2023 17:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants