forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split compute budget instructions process from struct (solana-labs#33852
) * Split compute budget instruction processing from ComputeBudget struct itself, so CB instructions can be processed elsewhere without involving ComputeBudget * updated tests * avoid built ComputeBudget from dated ComputeBudgetLimits in this refactoring PR * Clean-up program-runtime/src/compute_budget_processor.rs * Add test for a corner case that deprecated instruction is used to request units greater than max limit; * Update code to handle the corner case.
- Loading branch information
1 parent
ba112a0
commit 510b6b9
Showing
10 changed files
with
881 additions
and
762 deletions.
There are no files selected for viewing
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.