solana/cost-model/src
Tao Zhu 510b6b949f
Split compute budget instructions process from struct (#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.
2023-10-26 22:12:56 -05:00
..
block_cost_limits.rs Refactor - Move interfaces of address-lookup-table into the program SDK (#33165) 2023-09-11 21:10:40 +02:00
cost_model.rs Split compute budget instructions process from struct (#33852) 2023-10-26 22:12:56 -05:00
cost_tracker.rs chore: fix some typos (#33833) 2023-10-25 16:21:53 +02:00
lib.rs Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
transaction_cost.rs Separate vote cost (#33230) 2023-09-25 15:02:08 -05:00