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

Removes unused Bank::accounts_data_size_limit() #34700

Conversation

brooksprumo
Copy link
Contributor

@brooksprumo brooksprumo commented Jan 8, 2024

Problem

Bank::accounts_data_size_limit() no longer has any callers. And we'd like to remove AccountsDataMeter. So remove this function, and then it'll be clear there are no other users of AccountsDataMeter.

Summary of Changes

Remove Bank::accounts_data_size_limit()

@brooksprumo brooksprumo self-assigned this Jan 8, 2024
@brooksprumo brooksprumo added the work in progress This isn't quite right yet label Jan 8, 2024
@brooksprumo brooksprumo force-pushed the cap-accounts-data-len/remove/limit branch from 5c6d4c1 to 918d05b Compare January 9, 2024 00:16
@brooksprumo brooksprumo removed the work in progress This isn't quite right yet label Jan 9, 2024
@brooksprumo brooksprumo force-pushed the cap-accounts-data-len/remove/limit branch from 918d05b to 5ad3610 Compare January 9, 2024 00:20
@brooksprumo brooksprumo marked this pull request as ready for review January 9, 2024 00:54
@brooksprumo brooksprumo requested a review from tao-stones January 9, 2024 00:54
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (40e4103) 81.8% compared to head (5ad3610) 81.8%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34700   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         824      824           
  Lines      222693   222691    -2     
=======================================
+ Hits       182236   182285   +49     
+ Misses      40457    40406   -51     

Copy link
Contributor

@tao-stones tao-stones 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 38494e5 into solana-labs:master Jan 9, 2024
35 checks passed
@brooksprumo brooksprumo deleted the cap-accounts-data-len/remove/limit branch January 9, 2024 17:47
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