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

cleanup feature code after mainnet-beta activation #34208

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

tao-stones
Copy link
Contributor

Problem

feature G6vbf1UBok8MWb8m25ex86aoQHeKTzDKzuZADHkShqm6 add compute budget instruction for setting account data size per transaction #30366 activated everywhere.

Summary of Changes

  • Cleanup feature code
  • Update/remove tests on that feature gate

Fixes #

Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Merging #34208 (9d607cb) into master (aaccbdd) will increase coverage by 0.0%.
The diff coverage is 91.4%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34208   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         819      819           
  Lines      220894   220835   -59     
=======================================
+ Hits       180753   180770   +17     
+ Misses      40141    40065   -76     

@github-actions github-actions bot added stale [bot only] Added to stale content; results in auto-close after a week. and removed stale [bot only] Added to stale content; results in auto-close after a week. labels Dec 7, 2023
@tao-stones tao-stones marked this pull request as ready for review December 12, 2023 22:45
Copy link
Contributor

@apfitzge apfitzge left a comment

Choose a reason for hiding this comment

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

Only made a single comment, but I think we should be removing all references to this feature outside of feature_set.rs itself.

It's active, so any branches/tests that were for it not being active, should simply be removed.

@tao-stones tao-stones force-pushed the cleanup-feature-30366 branch from 5288501 to 9d607cb Compare December 15, 2023 00:09
@@ -69,11 +69,8 @@ impl From<ComputeBudgetLimits> for FeeBudgetLimits {
/// are retrieved and returned,
pub fn process_compute_budget_instructions<'a>(
instructions: impl Iterator<Item = (&'a Pubkey, &'a CompiledInstruction)>,
feature_set: &FeatureSet,
_feature_set: &FeatureSet,
Copy link
Contributor Author

@tao-stones tao-stones Dec 15, 2023

Choose a reason for hiding this comment

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

Will remove this parameter (7f63704) in a follow up PR, keep this PR feature cleanup only

@tao-stones tao-stones requested a review from apfitzge December 15, 2023 00:32
@tao-stones tao-stones merged commit f214a82 into solana-labs:master Dec 15, 2023
34 checks passed
@tao-stones tao-stones deleted the cleanup-feature-30366 branch December 15, 2023 19:16
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