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.
Fix builtin default cost dependents on migration (#3768)
* Add public function to as placeholder to implement fetching default cost depends on feature_set; Make AhashMap private * Add BuiltinCost to help determine default cost based on migration status * test * fix - after migration feature activation, it should no longer be considered as builtin * use lazy_static, avoid naked unwrap * rename * add comments to BUILINS (cherry picked from commit d791c9a) # Conflicts: # builtins-default-costs/src/lib.rs # cost-model/src/cost_model.rs
- Loading branch information
1 parent
6ea38fc
commit 254aa60
Showing
5 changed files
with
275 additions
and
41 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
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.