Skip to content

Commit

Permalink
remove precompiled frombuilt-in list
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Dec 21, 2023
1 parent 7e8bfbb commit f58d69d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cost-model/src/block_cost_limits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use {
lazy_static::lazy_static,
solana_sdk::{
address_lookup_table, bpf_loader, bpf_loader_deprecated, bpf_loader_upgradeable,
compute_budget, ed25519_program, loader_v4, pubkey::Pubkey, secp256k1_program,
compute_budget, loader_v4, pubkey::Pubkey,
},
std::collections::HashMap,
};
Expand Down Expand Up @@ -42,9 +42,6 @@ lazy_static! {
(bpf_loader_deprecated::id(), solana_bpf_loader_program::DEPRECATED_LOADER_COMPUTE_UNITS),
(bpf_loader::id(), solana_bpf_loader_program::DEFAULT_LOADER_COMPUTE_UNITS),
(loader_v4::id(), solana_loader_v4_program::DEFAULT_COMPUTE_UNITS),
// Note: These are precompile, run directly in bank during sanitizing;
(secp256k1_program::id(), COMPUTE_UNIT_TO_US_RATIO * 24),
(ed25519_program::id(), COMPUTE_UNIT_TO_US_RATIO * 24),
]
.iter()
.cloned()
Expand Down

0 comments on commit f58d69d

Please sign in to comment.