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 cap_accounts_data_allocations_per_transaction featurization #33754

Merged

Conversation

brooksprumo
Copy link
Contributor

@brooksprumo brooksprumo commented Oct 18, 2023

Problem

Now that the cap_accounts_data_allocations_per_transaction feature-gate has been enabled on all clusters, its code can be removed.

Summary of Changes

Remove the code for the feature-gate.

Fixes #27375
Feature Gate Issue: #27375

@brooksprumo brooksprumo added the feature-gate Pull Request adds or modifies a runtime feature gate label Oct 18, 2023
@brooksprumo brooksprumo self-assigned this Oct 18, 2023
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #33754 (5859609) into master (0fcc0a0) will increase coverage by 0.0%.
The diff coverage is 50.0%.

@@           Coverage Diff           @@
##           master   #33754   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         806      806           
  Lines      217905   217893   -12     
=======================================
+ Hits       178278   178324   +46     
+ Misses      39627    39569   -58     

@brooksprumo brooksprumo marked this pull request as ready for review October 18, 2023 18:25
@brooksprumo
Copy link
Contributor Author

@Lichtso Requesting your review to ensure the specific changes are correct.
@t-nelson/@mvines Requesting your review to ensure this is correct for feature-gate removal in general.

t-nelson
t-nelson previously approved these changes Oct 18, 2023
Copy link
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

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

lgtm :shipit:

Comment on lines 1600 to -1602
&& !invoke_context
.feature_set
.is_active(&cap_accounts_data_allocations_per_transaction::id()))
|| (status == MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED
Copy link
Contributor

Choose a reason for hiding this comment

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

ideally don't combine feature gate logic with other logic to make these removal diffs cleaner

@brooksprumo
Copy link
Contributor Author

Rebased and force-pushed to resolve a merge conflict. No actual code changes.

@brooksprumo brooksprumo merged commit c1353e1 into solana-labs:master Oct 19, 2023
41 checks passed
@brooksprumo brooksprumo deleted the accounts-data-len/tx/remove branch October 19, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-gate Pull Request adds or modifies a runtime feature gate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Gate: Cap Accounts Data Allocations Per Transaction
3 participants