forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accounting migrating builtin programs default Compute Unit Limit with…
… feature status (#3975) * Accounting migrating builtin programs default Compute Unit Limit with its feature gate status * Declare Non/migrating buiiltins in const array, eleminates heap allocation (Vec<>) per transaction * updates for review commients add explicit positional information to migrating builtin feature obj update developer notes, added static_assertion to validate no new items are added, add enum type * use enum to separately define migrating and not-migrating builtins * rename for clarity (cherry picked from commit 9379fbc) # Conflicts: # builtins-default-costs/src/lib.rs # compute-budget-instruction/Cargo.toml # compute-budget-instruction/src/builtin_programs_filter.rs # runtime-transaction/src/compute_budget_instruction_details.rs
- Loading branch information
1 parent
0125110
commit e75594a
Showing
6 changed files
with
790 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.