Skip to content

Commit 55ccf65

Browse files
committed
add feature gate, issue solana-labs#2562
1 parent 397e928 commit 55ccf65

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sdk/feature-set/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,10 @@ pub mod migrate_stake_program_to_core_bpf {
892892
solana_pubkey::declare_id!("6M4oQ6eXneVhtLoiAr4yRYQY43eVLjrKbiDZDJc892yk");
893893
}
894894

895+
pub mod reserve_minimal_cus_for_builtin_instructions {
896+
solana_pubkey::declare_id!("C9oAhLxDBm3ssWtJx1yBGzPY55r2rArHmN1pbQn6HogH");
897+
}
898+
895899
lazy_static! {
896900
/// Map of feature identifiers to user-visible description
897901
pub static ref FEATURE_NAMES: AHashMap<Pubkey, &'static str> = [
@@ -1110,6 +1114,7 @@ lazy_static! {
11101114
(accounts_lt_hash::id(), "enables lattice-based accounts hash #3333"),
11111115
(enable_secp256r1_precompile::id(), "Enable secp256r1 precompile SIMD-0075"),
11121116
(migrate_stake_program_to_core_bpf::id(), "Migrate Stake program to Core BPF SIMD-0196 #3655"),
1117+
(reserve_minimal_cus_for_builtin_instructions::id(), "Reserve minimal CUs for builtin instructions SIMD-170 #2562"),
11131118
/*************** ADD NEW FEATURES HERE ***************/
11141119
]
11151120
.iter()

0 commit comments

Comments
 (0)