Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renames fn to AccountsDb::get_storages() #3873

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

brooksprumo
Copy link

@brooksprumo brooksprumo commented Dec 2, 2024

Problem

As of #3737, we now call AccountsDb::get_snapshot_storages() to get storages for reasons other than snapshots. It is really up to the caller to decide what the storages are for. It is now a misnomer for the function to include "snapshot" in its name.

Summary of Changes

Remove "snapshot" from the function name.

Note, this PR purposely does not change the name of Bank::get_snapshot_storages().

@brooksprumo brooksprumo self-assigned this Dec 2, 2024
@brooksprumo brooksprumo force-pushed the get-snapshot-storages branch from f242f3c to b316043 Compare December 3, 2024 00:10
@brooksprumo brooksprumo marked this pull request as ready for review December 3, 2024 00:36
@brooksprumo brooksprumo requested a review from HaoranYi December 3, 2024 00:36
Copy link

@HaoranYi HaoranYi 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 merged commit 397e928 into anza-xyz:master Dec 3, 2024
40 checks passed
@brooksprumo brooksprumo deleted the get-snapshot-storages branch December 3, 2024 14:43
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.

2 participants