Skip to main content

agave_feature_set/
lib.rs

1#![cfg(feature = "agave-unstable-api")]
2#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
3
4use {
5    ahash::{AHashMap, AHashSet},
6    solana_epoch_schedule::EpochSchedule,
7    solana_hash::Hash,
8    solana_pubkey::Pubkey,
9    solana_sha256_hasher::Hasher,
10    solana_svm_feature_set::SVMFeatureSet,
11    std::sync::LazyLock,
12};
13
14#[cfg_attr(feature = "frozen-abi", derive(solana_frozen_abi_macro::AbiExample))]
15#[derive(Debug, Clone, Eq, PartialEq)]
16pub struct FeatureSet {
17    active: AHashMap<Pubkey, u64>,
18    inactive: AHashSet<Pubkey>,
19}
20
21impl Default for FeatureSet {
22    fn default() -> Self {
23        Self {
24            // All features disabled
25            active: AHashMap::new(),
26            inactive: AHashSet::from_iter((*FEATURE_NAMES).keys().cloned()),
27        }
28    }
29}
30
31impl FeatureSet {
32    pub fn new(active: AHashMap<Pubkey, u64>, inactive: AHashSet<Pubkey>) -> Self {
33        Self { active, inactive }
34    }
35
36    pub fn active(&self) -> &AHashMap<Pubkey, u64> {
37        &self.active
38    }
39
40    pub fn active_mut(&mut self) -> &mut AHashMap<Pubkey, u64> {
41        &mut self.active
42    }
43
44    pub fn inactive(&self) -> &AHashSet<Pubkey> {
45        &self.inactive
46    }
47
48    pub fn inactive_mut(&mut self) -> &mut AHashSet<Pubkey> {
49        &mut self.inactive
50    }
51
52    pub fn is_active(&self, feature_id: &Pubkey) -> bool {
53        self.active.contains_key(feature_id)
54    }
55
56    pub fn activated_slot(&self, feature_id: &Pubkey) -> Option<u64> {
57        self.active.get(feature_id).copied()
58    }
59
60    /// Activate a feature
61    pub fn activate(&mut self, feature_id: &Pubkey, slot: u64) {
62        self.inactive.remove(feature_id);
63        self.active.insert(*feature_id, slot);
64    }
65
66    /// Deactivate a feature
67    pub fn deactivate(&mut self, feature_id: &Pubkey) {
68        self.active.remove(feature_id);
69        self.inactive.insert(*feature_id);
70    }
71
72    /// List of enabled features that trigger full inflation
73    pub fn full_inflation_features_enabled(&self) -> AHashSet<Pubkey> {
74        let mut hash_set = FULL_INFLATION_FEATURE_PAIRS
75            .iter()
76            .filter_map(|pair| {
77                if self.is_active(&pair.vote_id) && self.is_active(&pair.enable_id) {
78                    Some(pair.enable_id)
79                } else {
80                    None
81                }
82            })
83            .collect::<AHashSet<_>>();
84
85        if self.is_active(&full_inflation::devnet_and_testnet::id()) {
86            hash_set.insert(full_inflation::devnet_and_testnet::id());
87        }
88        hash_set
89    }
90
91    /// All features enabled, useful for testing
92    pub fn all_enabled() -> Self {
93        Self {
94            active: AHashMap::from_iter((*FEATURE_NAMES).keys().cloned().map(|key| (key, 0))),
95            inactive: AHashSet::new(),
96        }
97    }
98
99    pub fn new_warmup_cooldown_rate_epoch(&self, epoch_schedule: &EpochSchedule) -> Option<u64> {
100        self.activated_slot(&reduce_stake_warmup_cooldown::id())
101            .map(|slot| epoch_schedule.get_epoch(slot))
102    }
103
104    pub fn runtime_features(&self) -> SVMFeatureSet {
105        SVMFeatureSet {
106            move_precompile_verification_to_svm: self
107                .is_active(&move_precompile_verification_to_svm::id()),
108            syscall_parameter_address_restrictions: self
109                .is_active(&syscall_parameter_address_restrictions::id()),
110            virtual_address_space_adjustments: self
111                .is_active(&virtual_address_space_adjustments::id()),
112            account_data_direct_mapping: self.is_active(&account_data_direct_mapping::id()),
113            enable_bpf_loader_set_authority_checked_ix: self
114                .is_active(&enable_bpf_loader_set_authority_checked_ix::id()),
115            enable_loader_v4: self.is_active(&enable_loader_v4::id()),
116            deplete_cu_meter_on_vm_failure: self.is_active(&deplete_cu_meter_on_vm_failure::id()),
117            abort_on_invalid_curve: self.is_active(&abort_on_invalid_curve::id()),
118            blake3_syscall_enabled: self.is_active(&blake3_syscall_enabled::id()),
119            curve25519_syscall_enabled: self.is_active(&curve25519_syscall_enabled::id()),
120            disable_deploy_of_alloc_free_syscall: self
121                .is_active(&disable_deploy_of_alloc_free_syscall::id()),
122            disable_fees_sysvar: self.is_active(&disable_fees_sysvar::id()),
123            disable_sbpf_v0_execution: self.is_active(&disable_sbpf_v0_execution::id()),
124            enable_alt_bn128_compression_syscall: self
125                .is_active(&enable_alt_bn128_compression_syscall::id()),
126            enable_alt_bn128_syscall: self.is_active(&enable_alt_bn128_syscall::id()),
127            enable_big_mod_exp_syscall: self.is_active(&enable_big_mod_exp_syscall::id()),
128            enable_get_epoch_stake_syscall: self.is_active(&enable_get_epoch_stake_syscall::id()),
129            enable_poseidon_syscall: self.is_active(&enable_poseidon_syscall::id()),
130            enable_sbpf_v1_deployment_and_execution: self
131                .is_active(&enable_sbpf_v1_deployment_and_execution::id()),
132            enable_sbpf_v2_deployment_and_execution: self
133                .is_active(&enable_sbpf_v2_deployment_and_execution::id()),
134            enable_sbpf_v3_deployment_and_execution: self
135                .is_active(&enable_sbpf_v3_deployment_and_execution::id()),
136            get_sysvar_syscall_enabled: self.is_active(&get_sysvar_syscall_enabled::id()),
137            last_restart_slot_sysvar: self.is_active(&last_restart_slot_sysvar::id()),
138            reenable_sbpf_v0_execution: self.is_active(&reenable_sbpf_v0_execution::id()),
139            remaining_compute_units_syscall_enabled: self
140                .is_active(&remaining_compute_units_syscall_enabled::id()),
141            remove_bpf_loader_incorrect_program_id: self
142                .is_active(&remove_bpf_loader_incorrect_program_id::id()),
143            move_stake_and_move_lamports_ixs: self
144                .is_active(&move_stake_and_move_lamports_ixs::id()),
145            deprecate_legacy_vote_ixs: self.is_active(&deprecate_legacy_vote_ixs::id()),
146            simplify_alt_bn128_syscall_error_codes: self
147                .is_active(&simplify_alt_bn128_syscall_error_codes::id()),
148            fix_alt_bn128_multiplication_input_length: self
149                .is_active(&fix_alt_bn128_multiplication_input_length::id()),
150            increase_tx_account_lock_limit: self.is_active(&increase_tx_account_lock_limit::id()),
151            enable_extend_program_checked: self.is_active(&enable_extend_program_checked::id()),
152            formalize_loaded_transaction_data_size: self
153                .is_active(&formalize_loaded_transaction_data_size::id()),
154            disable_zk_elgamal_proof_program: self
155                .is_active(&disable_zk_elgamal_proof_program::id()),
156            reenable_zk_elgamal_proof_program: self
157                .is_active(&reenable_zk_elgamal_proof_program::id()),
158            delay_commission_updates: self.is_active(&delay_commission_updates::id()),
159            raise_cpi_nesting_limit_to_8: self.is_active(&raise_cpi_nesting_limit_to_8::id()),
160            provide_instruction_data_offset_in_vm_r2: self
161                .is_active(&provide_instruction_data_offset_in_vm_r2::id()),
162            increase_cpi_account_info_limit: self.is_active(&increase_cpi_account_info_limit::id()),
163            vote_state_v4: self.is_active(&vote_state_v4::id()),
164            poseidon_enforce_padding: self.is_active(&poseidon_enforce_padding::id()),
165            fix_alt_bn128_pairing_length_check: self
166                .is_active(&fix_alt_bn128_pairing_length_check::id()),
167            alt_bn128_little_endian: self.is_active(&alt_bn128_little_endian::id()),
168            create_account_allow_prefund: self.is_active(&create_account_allow_prefund::id()),
169            bls_pubkey_management_in_vote_account: self
170                .is_active(&bls_pubkey_management_in_vote_account::id()),
171            enable_alt_bn128_g2_syscalls: self.is_active(&enable_alt_bn128_g2_syscalls::id()),
172            commission_rate_in_basis_points: self.is_active(&commission_rate_in_basis_points::id()),
173            custom_commission_collector: self.is_active(&custom_commission_collector::id()),
174            enable_bls12_381_syscall: self.is_active(&enable_bls12_381_syscall::id()),
175            block_revenue_sharing: self.is_active(&block_revenue_sharing::id()),
176            vote_account_initialize_v2: self.is_active(&vote_account_initialize_v2::id()),
177            direct_account_pointers_in_program_input: self
178                .is_active(&direct_account_pointers_in_program_input::id()),
179        }
180    }
181}
182
183pub mod deprecate_rewards_sysvar {
184    solana_pubkey::declare_id!("GaBtBJvmS4Arjj5W1NmFcyvPjsHN38UGYDq2MDwbs9Qu");
185}
186
187pub mod pico_inflation {
188    solana_pubkey::declare_id!("4RWNif6C2WCNiKVW7otP4G7dkmkHGyKQWRpuZ1pxKU5m");
189}
190
191pub mod full_inflation {
192    pub mod devnet_and_testnet {
193        solana_pubkey::declare_id!("DT4n6ABDqs6w4bnfwrXT9rsprcPf6cdDga1egctaPkLC");
194    }
195
196    pub mod mainnet {
197        pub mod certusone {
198            pub mod vote {
199                solana_pubkey::declare_id!("BzBBveUDymEYoYzcMWNQCx3cd4jQs7puaVFHLtsbB6fm");
200            }
201            pub mod enable {
202                solana_pubkey::declare_id!("7XRJcS5Ud5vxGB54JbK9N2vBZVwnwdBNeJW1ibRgD9gx");
203            }
204        }
205    }
206}
207
208pub mod secp256k1_program_enabled {
209    solana_pubkey::declare_id!("E3PHP7w8kB7np3CTQ1qQ2tW3KCtjRSXBQgW9vM2mWv2Y");
210}
211
212pub mod spl_token_v2_multisig_fix {
213    solana_pubkey::declare_id!("E5JiFDQCwyC6QfT9REFyMpfK2mHcmv1GUDySU1Ue7TYv");
214}
215
216pub mod no_overflow_rent_distribution {
217    solana_pubkey::declare_id!("4kpdyrcj5jS47CZb2oJGfVxjYbsMm2Kx97gFyZrxxwXz");
218}
219
220pub mod filter_stake_delegation_accounts {
221    solana_pubkey::declare_id!("GE7fRxmW46K6EmCD9AMZSbnaJ2e3LfqCZzdHi9hmYAgi");
222}
223
224pub mod require_custodian_for_locked_stake_authorize {
225    solana_pubkey::declare_id!("D4jsDcXaqdW8tDAWn8H4R25Cdns2YwLneujSL1zvjW6R");
226}
227
228pub mod spl_token_v2_self_transfer_fix {
229    solana_pubkey::declare_id!("BL99GYhdjjcv6ys22C9wPgn2aTVERDbPHHo4NbS3hgp7");
230}
231
232pub mod warp_timestamp_again {
233    solana_pubkey::declare_id!("GvDsGDkH5gyzwpDhxNixx8vtx1kwYHH13RiNAPw27zXb");
234}
235
236pub mod check_init_vote_data {
237    solana_pubkey::declare_id!("3ccR6QpxGYsAbWyfevEtBNGfWV4xBffxRj2tD6A9i39F");
238}
239
240pub mod secp256k1_recover_syscall_enabled {
241    solana_pubkey::declare_id!("6RvdSWHh8oh72Dp7wMTS2DBkf3fRPtChfNrAo3cZZoXJ");
242}
243
244pub mod system_transfer_zero_check {
245    solana_pubkey::declare_id!("BrTR9hzw4WBGFP65AJMbpAo64DcA3U6jdPSga9fMV5cS");
246}
247
248pub mod blake3_syscall_enabled {
249    solana_pubkey::declare_id!("HTW2pSyErTj4BV6KBM9NZ9VBUJVxt7sacNWcf76wtzb3");
250}
251
252pub mod dedupe_config_program_signers {
253    solana_pubkey::declare_id!("8kEuAshXLsgkUEdcFVLqrjCGGHVWFW99ZZpxvAzzMtBp");
254}
255
256pub mod verify_tx_signatures_len {
257    solana_pubkey::declare_id!("EVW9B5xD9FFK7vw1SBARwMA4s5eRo5eKJdKpsBikzKBz");
258}
259
260pub mod vote_stake_checked_instructions {
261    solana_pubkey::declare_id!("BcWknVcgvonN8sL4HE4XFuEVgfcee5MwxWPAgP6ZV89X");
262}
263
264pub mod rent_for_sysvars {
265    solana_pubkey::declare_id!("BKCPBQQBZqggVnFso5nQ8rQ4RwwogYwjuUt9biBjxwNF");
266}
267
268pub mod libsecp256k1_0_5_upgrade_enabled {
269    solana_pubkey::declare_id!("DhsYfRjxfnh2g7HKJYSzT79r74Afa1wbHkAgHndrA1oy");
270}
271
272pub mod tx_wide_compute_cap {
273    solana_pubkey::declare_id!("5ekBxc8itEnPv4NzGJtr8BVVQLNMQuLMNQQj7pHoLNZ9");
274}
275
276pub mod spl_token_v2_set_authority_fix {
277    solana_pubkey::declare_id!("FToKNBYyiF4ky9s8WsmLBXHCht17Ek7RXaLZGHzzQhJ1");
278}
279
280pub mod merge_nonce_error_into_system_error {
281    solana_pubkey::declare_id!("21AWDosvp3pBamFW91KB35pNoaoZVTM7ess8nr2nt53B");
282}
283
284pub mod disable_fees_sysvar {
285    solana_pubkey::declare_id!("JAN1trEUEtZjgXYzNBYHU9DYd7GnThhXfFP7SzPXkPsG");
286}
287
288pub mod stake_merge_with_unmatched_credits_observed {
289    solana_pubkey::declare_id!("meRgp4ArRPhD3KtCY9c5yAf2med7mBLsjKTPeVUHqBL");
290}
291
292pub mod zk_token_sdk_enabled {
293    solana_pubkey::declare_id!("zk1snxsc6Fh3wsGNbbHAJNHiJoYgF29mMnTSusGx5EJ");
294}
295
296pub mod curve25519_syscall_enabled {
297    solana_pubkey::declare_id!("7rcw5UtqgDTBBv2EcynNfYckgdAaH1MAsCjKgXMkN7Ri");
298}
299
300pub mod curve25519_restrict_msm_length {
301    solana_pubkey::declare_id!("eca6zf6JJRjQsYYPkBHF3N32MTzur4n2WL4QiiacPCL");
302}
303
304pub mod versioned_tx_message_enabled {
305    solana_pubkey::declare_id!("3KZZ6Ks1885aGBQ45fwRcPXVBCtzUvxhUTkwKMR41Tca");
306}
307
308pub mod libsecp256k1_fail_on_bad_count {
309    solana_pubkey::declare_id!("8aXvSuopd1PUj7UhehfXJRg6619RHp8ZvwTyyJHdUYsj");
310}
311
312pub mod libsecp256k1_fail_on_bad_count2 {
313    solana_pubkey::declare_id!("54KAoNiUERNoWWUhTWWwXgym94gzoXFVnHyQwPA18V9A");
314}
315
316pub mod instructions_sysvar_owned_by_sysvar {
317    solana_pubkey::declare_id!("H3kBSaKdeiUsyHmeHqjJYNc27jesXZ6zWj3zWkowQbkV");
318}
319
320pub mod stake_program_advance_activating_credits_observed {
321    solana_pubkey::declare_id!("SAdVFw3RZvzbo6DvySbSdBnHN4gkzSTH9dSxesyKKPj");
322}
323
324pub mod credits_auto_rewind {
325    solana_pubkey::declare_id!("BUS12ciZ5gCoFafUHWW8qaFMMtwFQGVxjsDheWLdqBE2");
326}
327
328pub mod demote_program_write_locks {
329    solana_pubkey::declare_id!("3E3jV7v9VcdJL8iYZUMax9DiDno8j7EWUVbhm9RtShj2");
330}
331
332pub mod ed25519_program_enabled {
333    solana_pubkey::declare_id!("6ppMXNYLhVd7GcsZ5uV11wQEW7spppiMVfqQv5SXhDpX");
334}
335
336pub mod return_data_syscall_enabled {
337    solana_pubkey::declare_id!("DwScAzPUjuv65TMbDnFY7AgwmotzWy3xpEJMXM3hZFaB");
338}
339
340pub mod reduce_required_deploy_balance {
341    solana_pubkey::declare_id!("EBeznQDjcPG8491sFsKZYBi5S5jTVXMpAKNDJMQPS2kq");
342}
343
344pub mod sol_log_data_syscall_enabled {
345    solana_pubkey::declare_id!("6uaHcKPGUy4J7emLBgUTeufhJdiwhngW6a1R9B7c2ob9");
346}
347
348pub mod stakes_remove_delegation_if_inactive {
349    solana_pubkey::declare_id!("HFpdDDNQjvcXnXKec697HDDsyk6tFoWS2o8fkxuhQZpL");
350}
351
352pub mod do_support_realloc {
353    solana_pubkey::declare_id!("75m6ysz33AfLA5DDEzWM1obBrnPQRSsdVQ2nRmc8Vuu1");
354}
355
356pub mod prevent_calling_precompiles_as_programs {
357    solana_pubkey::declare_id!("4ApgRX3ud6p7LNMJmsuaAcZY5HWctGPr5obAsjB3A54d");
358}
359
360pub mod optimize_epoch_boundary_updates {
361    solana_pubkey::declare_id!("265hPS8k8xJ37ot82KEgjRunsUp5w4n4Q4VwwiN9i9ps");
362}
363
364pub mod remove_native_loader {
365    solana_pubkey::declare_id!("HTTgmruMYRZEntyL3EdCDdnS6e4D5wRq1FA7kQsb66qq");
366}
367
368pub mod send_to_tpu_vote_port {
369    solana_pubkey::declare_id!("C5fh68nJ7uyKAuYZg2x9sEQ5YrVf3dkW6oojNBSc3Jvo");
370}
371
372pub mod requestable_heap_size {
373    solana_pubkey::declare_id!("CCu4boMmfLuqcmfTLPHQiUo22ZdUsXjgzPAURYaWt1Bw");
374}
375
376pub mod disable_fee_calculator {
377    solana_pubkey::declare_id!("2jXx2yDmGysmBKfKYNgLj2DQyAQv6mMk2BPh4eSbyB4H");
378}
379
380pub mod add_compute_budget_program {
381    solana_pubkey::declare_id!("4d5AKtxoh93Dwm1vHXUU3iRATuMndx1c431KgT2td52r");
382}
383
384pub mod nonce_must_be_writable {
385    solana_pubkey::declare_id!("BiCU7M5w8ZCMykVSyhZ7Q3m2SWoR2qrEQ86ERcDX77ME");
386}
387
388pub mod spl_token_v3_3_0_release {
389    solana_pubkey::declare_id!("Ftok2jhqAqxUWEiCVRrfRs9DPppWP8cgTB7NQNKL88mS");
390}
391
392pub mod leave_nonce_on_success {
393    solana_pubkey::declare_id!("E8MkiWZNNPGU6n55jkGzyj8ghUmjCHRmDFdYYFYHxWhQ");
394}
395
396pub mod reject_empty_instruction_without_program {
397    solana_pubkey::declare_id!("9kdtFSrXHQg3hKkbXkQ6trJ3Ja1xpJ22CTFSNAciEwmL");
398}
399
400pub mod fixed_memcpy_nonoverlapping_check {
401    solana_pubkey::declare_id!("36PRUK2Dz6HWYdG9SpjeAsF5F3KxnFCakA2BZMbtMhSb");
402}
403
404pub mod reject_non_rent_exempt_vote_withdraws {
405    solana_pubkey::declare_id!("7txXZZD6Um59YoLMF7XUNimbMjsqsWhc7g2EniiTrmp1");
406}
407
408pub mod evict_invalid_stakes_cache_entries {
409    solana_pubkey::declare_id!("EMX9Q7TVFAmQ9V1CggAkhMzhXSg8ECp7fHrWQX2G1chf");
410}
411
412pub mod allow_votes_to_directly_update_vote_state {
413    solana_pubkey::declare_id!("Ff8b1fBeB86q8cjq47ZhsQLgv5EkHu3G1C99zjUfAzrq");
414}
415
416pub mod max_tx_account_locks {
417    solana_pubkey::declare_id!("CBkDroRDqm8HwHe6ak9cguPjUomrASEkfmxEaZ5CNNxz");
418}
419
420pub mod require_rent_exempt_accounts {
421    solana_pubkey::declare_id!("BkFDxiJQWZXGTZaJQxH7wVEHkAmwCgSEVkrvswFfRJPD");
422}
423
424pub mod filter_votes_outside_slot_hashes {
425    solana_pubkey::declare_id!("3gtZPqvPpsbXZVCx6hceMfWxtsmrjMzmg8C7PLKSxS2d");
426}
427
428pub mod update_syscall_base_costs {
429    solana_pubkey::declare_id!("2h63t332mGCCsWK2nqqqHhN4U9ayyqhLVFvczznHDoTZ");
430}
431
432pub mod stake_deactivate_delinquent_instruction {
433    solana_pubkey::declare_id!("437r62HoAdUb63amq3D7ENnBLDhHT2xY8eFkLJYVKK4x");
434}
435
436pub mod vote_withdraw_authority_may_change_authorized_voter {
437    solana_pubkey::declare_id!("AVZS3ZsN4gi6Rkx2QUibYuSJG3S6QHib7xCYhG6vGJxU");
438}
439
440pub mod spl_associated_token_account_v1_0_4 {
441    solana_pubkey::declare_id!("FaTa4SpiaSNH44PGC4z8bnGVTkSRYaWvrBs3KTu8XQQq");
442}
443
444pub mod reject_vote_account_close_unless_zero_credit_epoch {
445    solana_pubkey::declare_id!("ALBk3EWdeAg2WAGf6GPDUf1nynyNqCdEVmgouG7rpuCj");
446}
447
448pub mod add_get_processed_sibling_instruction_syscall {
449    solana_pubkey::declare_id!("CFK1hRCNy8JJuAAY8Pb2GjLFNdCThS2qwZNe3izzBMgn");
450}
451
452pub mod bank_transaction_count_fix {
453    solana_pubkey::declare_id!("Vo5siZ442SaZBKPXNocthiXysNviW4UYPwRFggmbgAp");
454}
455
456pub mod disable_bpf_deprecated_load_instructions {
457    solana_pubkey::declare_id!("3XgNukcZWf9o3HdA3fpJbm94XFc4qpvTXc8h1wxYwiPi");
458}
459
460pub mod disable_bpf_unresolved_symbols_at_runtime {
461    solana_pubkey::declare_id!("4yuaYAj2jGMGTh1sSmi4G2eFscsDq8qjugJXZoBN6YEa");
462}
463
464pub mod record_instruction_in_transaction_context_push {
465    solana_pubkey::declare_id!("3aJdcZqxoLpSBxgeYGjPwaYS1zzcByxUDqJkbzWAH1Zb");
466}
467
468pub mod syscall_saturated_math {
469    solana_pubkey::declare_id!("HyrbKftCdJ5CrUfEti6x26Cj7rZLNe32weugk7tLcWb8");
470}
471
472pub mod check_physical_overlapping {
473    solana_pubkey::declare_id!("nWBqjr3gpETbiaVj3CBJ3HFC5TMdnJDGt21hnvSTvVZ");
474}
475
476pub mod limit_secp256k1_recovery_id {
477    solana_pubkey::declare_id!("7g9EUwj4j7CS21Yx1wvgWLjSZeh5aPq8x9kpoPwXM8n8");
478}
479
480pub mod disable_deprecated_loader {
481    solana_pubkey::declare_id!("GTUMCZ8LTNxVfxdrw7ZsDFTxXb7TutYkzJnFwinpE6dg");
482}
483
484pub mod check_slice_translation_size {
485    solana_pubkey::declare_id!("GmC19j9qLn2RFk5NduX6QXaDhVpGncVVBzyM8e9WMz2F");
486}
487
488pub mod stake_split_uses_rent_sysvar {
489    solana_pubkey::declare_id!("FQnc7U4koHqWgRvFaBJjZnV8VPg6L6wWK33yJeDp4yvV");
490}
491
492pub mod add_get_minimum_delegation_instruction_to_stake_program {
493    solana_pubkey::declare_id!("St8k9dVXP97xT6faW24YmRSYConLbhsMJA4TJTBLmMT");
494}
495
496pub mod error_on_syscall_bpf_function_hash_collisions {
497    solana_pubkey::declare_id!("8199Q2gMD2kwgfopK5qqVWuDbegLgpuFUFHCcUJQDN8b");
498}
499
500pub mod reject_callx_r10 {
501    solana_pubkey::declare_id!("3NKRSwpySNwD3TvP5pHnRmkAQRsdkXWRr1WaQh8p4PWX");
502}
503
504pub mod drop_redundant_turbine_path {
505    solana_pubkey::declare_id!("4Di3y24QFLt5QEUPZtbnjyfQKfm6ZMTfa6Dw1psfoMKU");
506}
507
508pub mod executables_incur_cpi_data_cost {
509    solana_pubkey::declare_id!("7GUcYgq4tVtaqNCKT3dho9r4665Qp5TxCZ27Qgjx3829");
510}
511
512pub mod fix_recent_blockhashes {
513    solana_pubkey::declare_id!("6iyggb5MTcsvdcugX7bEKbHV8c6jdLbpHwkncrgLMhfo");
514}
515
516pub mod update_rewards_from_cached_accounts {
517    solana_pubkey::declare_id!("28s7i3htzhahXQKqmS2ExzbEoUypg9krwvtK2M9UWXh9");
518}
519
520pub mod partitioned_epoch_rewards_superfeature {
521    solana_pubkey::declare_id!("PERzQrt5gBD1XEe2c9XdFWqwgHY3mr7cYWbm5V772V8");
522}
523
524pub mod spl_token_v3_4_0 {
525    solana_pubkey::declare_id!("Ftok4njE8b7tDffYkC5bAbCaQv5sL6jispYrprzatUwN");
526}
527
528pub mod spl_associated_token_account_v1_1_0 {
529    solana_pubkey::declare_id!("FaTa17gVKoqbh38HcfiQonPsAaQViyDCCSg71AubYZw8");
530}
531
532pub mod default_units_per_instruction {
533    solana_pubkey::declare_id!("J2QdYx8crLbTVK8nur1jeLsmc3krDbfjoxoea2V1Uy5Q");
534}
535
536pub mod stake_allow_zero_undelegated_amount {
537    solana_pubkey::declare_id!("sTKz343FM8mqtyGvYWvbLpTThw3ixRM4Xk8QvZ985mw");
538}
539
540pub mod require_static_program_ids_in_transaction {
541    solana_pubkey::declare_id!("8FdwgyHFEjhAdjWfV2vfqk7wA1g9X3fQpKH7SBpEv3kC");
542}
543
544pub mod stake_raise_minimum_delegation_to_1_sol {
545    // This is a feature-proposal *feature id*.  The feature keypair address is `GQXzC7YiSNkje6FFUk6sc2p53XRvKoaZ9VMktYzUMnpL`.
546    solana_pubkey::declare_id!("9onWzzvCzNC2jfhxxeqRgs5q7nFAAKpCUvkj6T6GJK9i");
547}
548
549pub mod stake_minimum_delegation_for_rewards {
550    solana_pubkey::declare_id!("MinimumDe1egat1onForRewardsWi11BeDe1eted111");
551}
552
553pub mod add_set_compute_unit_price_ix {
554    solana_pubkey::declare_id!("98std1NSHqXi9WYvFShfVepRdCoq1qvsp8fsR2XZtG8g");
555}
556
557pub mod disable_deploy_of_alloc_free_syscall {
558    solana_pubkey::declare_id!("79HWsX9rpnnJBPcdNURVqygpMAfxdrAirzAGAVmf92im");
559}
560
561pub mod include_account_index_in_rent_error {
562    solana_pubkey::declare_id!("2R72wpcQ7qV7aTJWUumdn8u5wmmTyXbK7qzEy7YSAgyY");
563}
564
565pub mod add_shred_type_to_shred_seed {
566    solana_pubkey::declare_id!("Ds87KVeqhbv7Jw8W6avsS1mqz3Mw5J3pRTpPoDQ2QdiJ");
567}
568
569pub mod warp_timestamp_with_a_vengeance {
570    solana_pubkey::declare_id!("3BX6SBeEBibHaVQXywdkcgyUk6evfYZkHdztXiDtEpFS");
571}
572
573pub mod separate_nonce_from_blockhash {
574    solana_pubkey::declare_id!("Gea3ZkK2N4pHuVZVxWcnAtS6UEDdyumdYt4pFcKjA3ar");
575}
576
577pub mod enable_durable_nonce {
578    solana_pubkey::declare_id!("4EJQtF2pkRyawwcTVfQutzq4Sa5hRhibF6QAK1QXhtEX");
579}
580
581pub mod vote_state_update_credit_per_dequeue {
582    solana_pubkey::declare_id!("CveezY6FDLVBToHDcvJRmtMouqzsmj4UXYh5ths5G5Uv");
583}
584
585pub mod quick_bail_on_panic {
586    solana_pubkey::declare_id!("DpJREPyuMZ5nDfU6H3WTqSqUFSXAfw8u7xqmWtEwJDcP");
587}
588
589pub mod nonce_must_be_authorized {
590    solana_pubkey::declare_id!("HxrEu1gXuH7iD3Puua1ohd5n4iUKJyFNtNxk9DVJkvgr");
591}
592
593pub mod nonce_must_be_advanceable {
594    solana_pubkey::declare_id!("3u3Er5Vc2jVcwz4xr2GJeSAXT3fAj6ADHZ4BJMZiScFd");
595}
596
597pub mod vote_authorize_with_seed {
598    solana_pubkey::declare_id!("6tRxEYKuy2L5nnv5bgn7iT28MxUbYxp5h7F3Ncf1exrT");
599}
600
601pub mod preserve_rent_epoch_for_rent_exempt_accounts {
602    solana_pubkey::declare_id!("HH3MUYReL2BvqqA3oEcAa7txju5GY6G4nxJ51zvsEjEZ");
603}
604
605pub mod enable_bpf_loader_extend_program_ix {
606    solana_pubkey::declare_id!("8Zs9W7D9MpSEtUWSQdGniZk2cNmV22y6FLJwCx53asme");
607}
608
609pub mod enable_early_verification_of_account_modifications {
610    solana_pubkey::declare_id!("7Vced912WrRnfjaiKRiNBcbuFw7RrnLv3E3z95Y4GTNc");
611}
612
613pub mod skip_rent_rewrites {
614    solana_pubkey::declare_id!("CGB2jM8pwZkeeiXQ66kBMyBR6Np61mggL7XUsmLjVcrw");
615}
616
617pub mod prevent_crediting_accounts_that_end_rent_paying {
618    solana_pubkey::declare_id!("812kqX67odAp5NFwM8D2N24cku7WTm9CHUTFUXaDkWPn");
619}
620
621pub mod cap_bpf_program_instruction_accounts {
622    solana_pubkey::declare_id!("9k5ijzTbYPtjzu8wj2ErH9v45xecHzQ1x4PMYMMxFgdM");
623}
624
625pub mod loosen_cpi_size_restriction {
626    solana_pubkey::declare_id!("GDH5TVdbTPUpRnXaRyQqiKUa7uZAbZ28Q2N9bhbKoMLm");
627}
628
629pub mod use_default_units_in_fee_calculation {
630    solana_pubkey::declare_id!("8sKQrMQoUHtQSUP83SPG4ta2JDjSAiWs7t5aJ9uEd6To");
631}
632
633pub mod compact_vote_state_updates {
634    solana_pubkey::declare_id!("86HpNqzutEZwLcPxS6EHDcMNYWk6ikhteg9un7Y2PBKE");
635}
636
637pub mod incremental_snapshot_only_incremental_hash_calculation {
638    solana_pubkey::declare_id!("25vqsfjk7Nv1prsQJmA4Xu1bN61s8LXCBGUPp8Rfy1UF");
639}
640
641pub mod disable_cpi_setting_executable_and_rent_epoch {
642    solana_pubkey::declare_id!("B9cdB55u4jQsDNsdTK525yE9dmSc5Ga7YBaBrDFvEhM9");
643}
644
645pub mod on_load_preserve_rent_epoch_for_rent_exempt_accounts {
646    solana_pubkey::declare_id!("CpkdQmspsaZZ8FVAouQTtTWZkc8eeQ7V3uj7dWz543rZ");
647}
648
649pub mod account_hash_ignore_slot {
650    solana_pubkey::declare_id!("SVn36yVApPLYsa8koK3qUcy14zXDnqkNYWyUh1f4oK1");
651}
652
653pub mod set_exempt_rent_epoch_max {
654    solana_pubkey::declare_id!("5wAGiy15X1Jb2hkHnPDCM8oB9V42VNA9ftNVFK84dEgv");
655}
656
657pub mod relax_authority_signer_check_for_lookup_table_creation {
658    solana_pubkey::declare_id!("FKAcEvNgSY79RpqsPNUV5gDyumopH4cEHqUxyfm8b8Ap");
659}
660
661pub mod stop_sibling_instruction_search_at_parent {
662    solana_pubkey::declare_id!("EYVpEP7uzH1CoXzbD6PubGhYmnxRXPeq3PPsm1ba3gpo");
663}
664
665pub mod vote_state_update_root_fix {
666    solana_pubkey::declare_id!("G74BkWBzmsByZ1kxHy44H3wjwp5hp7JbrGRuDpco22tY");
667}
668
669pub mod cap_accounts_data_allocations_per_transaction {
670    solana_pubkey::declare_id!("9gxu85LYRAcZL38We8MYJ4A9AwgBBPtVBAqebMcT1241");
671}
672
673pub mod epoch_accounts_hash {
674    solana_pubkey::declare_id!("5GpmAKxaGsWWbPp4bNXFLJxZVvG92ctxf7jQnzTQjF3n");
675}
676
677pub mod remove_deprecated_request_unit_ix {
678    solana_pubkey::declare_id!("EfhYd3SafzGT472tYQDUc4dPd2xdEfKs5fwkowUgVt4W");
679}
680
681pub mod disable_rehash_for_rent_epoch {
682    solana_pubkey::declare_id!("DTVTkmw3JSofd8CJVJte8PXEbxNQ2yZijvVr3pe2APPj");
683}
684
685pub mod increase_tx_account_lock_limit {
686    solana_pubkey::declare_id!("9LZdXeKGeBV6hRLdxS1rHbHoEUsKqesCC2ZAPTPKJAbK");
687}
688
689pub mod limit_max_instruction_trace_length {
690    solana_pubkey::declare_id!("GQALDaC48fEhZGWRj9iL5Q889emJKcj3aCvHF7VCbbF4");
691}
692
693pub mod check_syscall_outputs_do_not_overlap {
694    solana_pubkey::declare_id!("3uRVPBpyEJRo1emLCrq38eLRFGcu6uKSpUXqGvU8T7SZ");
695}
696
697pub mod enable_bpf_loader_set_authority_checked_ix {
698    solana_pubkey::declare_id!("5x3825XS7M2A3Ekbn5VGGkvFoAg5qrRWkTrY4bARP1GL");
699}
700
701pub mod enable_alt_bn128_syscall {
702    solana_pubkey::declare_id!("A16q37opZdQMCbe5qJ6xpBB9usykfv8jZaMkxvZQi4GJ");
703}
704
705pub mod simplify_alt_bn128_syscall_error_codes {
706    solana_pubkey::declare_id!("JDn5q3GBeqzvUa7z67BbmVHVdE3EbUAjvFep3weR3jxX");
707}
708
709pub mod enable_alt_bn128_compression_syscall {
710    solana_pubkey::declare_id!("EJJewYSddEEtSZHiqugnvhQHiWyZKjkFDQASd7oKSagn");
711}
712
713pub mod fix_alt_bn128_multiplication_input_length {
714    solana_pubkey::declare_id!("bn2puAyxUx6JUabAxYdKdJ5QHbNNmKw8dCGuGCyRrFN");
715}
716
717pub mod enable_program_redeployment_cooldown {
718    solana_pubkey::declare_id!("J4HFT8usBxpcF63y46t1upYobJgChmKyZPm5uTBRg25Z");
719}
720
721pub mod commission_updates_only_allowed_in_first_half_of_epoch {
722    solana_pubkey::declare_id!("noRuG2kzACwgaY7TVmLRnUNPLKNVQE1fb7X55YWBehp");
723}
724
725pub mod enable_turbine_fanout_experiments {
726    solana_pubkey::declare_id!("D31EFnLgdiysi84Woo3of4JMu7VmasUS3Z7j9HYXCeLY");
727}
728
729pub mod disable_turbine_fanout_experiments {
730    solana_pubkey::declare_id!("turbnbNRp22nwZCmgVVXFSshz7H7V23zMzQgA46YpmQ");
731}
732
733pub mod move_serialized_len_ptr_in_cpi {
734    solana_pubkey::declare_id!("74CoWuBmt3rUVUrCb2JiSTvh6nXyBWUsK4SaMj3CtE3T");
735}
736
737pub mod update_hashes_per_tick {
738    solana_pubkey::declare_id!("3uFHb9oKdGfgZGJK9EHaAXN4USvnQtAFC13Fh5gGFS5B");
739}
740
741pub mod enable_big_mod_exp_syscall {
742    solana_pubkey::declare_id!("EBq48m8irRKuE7ZnMTLvLg2UuGSqhe8s8oMqnmja1fJw");
743}
744
745pub mod disable_builtin_loader_ownership_chains {
746    solana_pubkey::declare_id!("4UDcAfQ6EcA6bdcadkeHpkarkhZGJ7Bpq7wTAiRMjkoi");
747}
748
749pub mod cap_transaction_accounts_data_size {
750    solana_pubkey::declare_id!("DdLwVYuvDz26JohmgSbA7mjpJFgX5zP2dkp8qsF2C33V");
751}
752
753pub mod remove_congestion_multiplier_from_fee_calculation {
754    solana_pubkey::declare_id!("A8xyMHZovGXFkorFqEmVH2PKGLiBip5JD7jt4zsUWo4H");
755}
756
757pub mod enable_request_heap_frame_ix {
758    solana_pubkey::declare_id!("Hr1nUA9b7NJ6eChS26o7Vi8gYYDDwWD3YeBfzJkTbU86");
759}
760
761pub mod prevent_rent_paying_rent_recipients {
762    solana_pubkey::declare_id!("Fab5oP3DmsLYCiQZXdjyqT3ukFFPrsmqhXU4WU1AWVVF");
763}
764
765pub mod delay_visibility_of_program_deployment {
766    solana_pubkey::declare_id!("GmuBvtFb2aHfSfMXpuFeWZGHyDeCLPS79s48fmCWCfM5");
767}
768
769pub mod apply_cost_tracker_during_replay {
770    solana_pubkey::declare_id!("2ry7ygxiYURULZCrypHhveanvP5tzZ4toRwVp89oCNSj");
771}
772
773pub mod syscall_parameter_address_restrictions {
774    solana_pubkey::declare_id!("EDGMC5kxFxGk4ixsNkGt8bW7QL5hDMXnbwaZvYMwNfzF");
775}
776
777pub mod virtual_address_space_adjustments {
778    solana_pubkey::declare_id!("7VgiehxNxu53KdxgLspGQY8myE6f7UokaWa4jsGcaSz");
779}
780
781pub mod account_data_direct_mapping {
782    solana_pubkey::declare_id!("CR3dVN2Yoo95Y96kLSTaziWDAQT2MNEpiWh5cqVq2pNE");
783}
784
785pub mod add_set_tx_loaded_accounts_data_size_instruction {
786    solana_pubkey::declare_id!("G6vbf1UBok8MWb8m25ex86aoQHeKTzDKzuZADHkShqm6");
787}
788
789pub mod switch_to_new_elf_parser {
790    solana_pubkey::declare_id!("Cdkc8PPTeTNUPoZEfCY5AyetUrEdkZtNPMgz58nqyaHD");
791}
792
793pub mod round_up_heap_size {
794    solana_pubkey::declare_id!("CE2et8pqgyQMP2mQRg3CgvX8nJBKUArMu3wfiQiQKY1y");
795}
796
797pub mod remove_bpf_loader_incorrect_program_id {
798    solana_pubkey::declare_id!("2HmTkCj9tXuPE4ueHzdD7jPeMf9JGCoZh5AsyoATiWEe");
799}
800
801pub mod include_loaded_accounts_data_size_in_fee_calculation {
802    solana_pubkey::declare_id!("EaQpmC6GtRssaZ3PCUM5YksGqUdMLeZ46BQXYtHYakDS");
803}
804
805pub mod native_programs_consume_cu {
806    solana_pubkey::declare_id!("8pgXCMNXC8qyEFypuwpXyRxLXZdpM4Qo72gJ6k87A6wL");
807}
808
809pub mod simplify_writable_program_account_check {
810    solana_pubkey::declare_id!("5ZCcFAzJ1zsFKe1KSZa9K92jhx7gkcKj97ci2DBo1vwj");
811}
812
813pub mod stop_truncating_strings_in_syscalls {
814    solana_pubkey::declare_id!("16FMCmgLzCNNz6eTwGanbyN2ZxvTBSLuQ6DZhgeMshg");
815}
816
817pub mod clean_up_delegation_errors {
818    solana_pubkey::declare_id!("Bj2jmUsM2iRhfdLLDSTkhM5UQRQvQHm57HSmPibPtEyu");
819}
820
821pub mod vote_state_add_vote_latency {
822    solana_pubkey::declare_id!("7axKe5BTYBDD87ftzWbk5DfzWMGyRvqmWTduuo22Yaqy");
823}
824
825pub mod checked_arithmetic_in_fee_validation {
826    solana_pubkey::declare_id!("5Pecy6ie6XGm22pc9d4P9W5c31BugcFBuy6hsP2zkETv");
827}
828
829pub mod last_restart_slot_sysvar {
830    solana_pubkey::declare_id!("HooKD5NC9QNxk25QuzCssB8ecrEzGt6eXEPBUxWp1LaR");
831}
832
833pub mod reduce_stake_warmup_cooldown {
834    solana_pubkey::declare_id!("GwtDQBghCTBgmX2cpEGNPxTEBUTQRaDMGTr5qychdGMj");
835}
836
837pub mod revise_turbine_epoch_stakes {
838    solana_pubkey::declare_id!("BTWmtJC8U5ZLMbBUUA1k6As62sYjPEjAiNAT55xYGdJU");
839}
840
841pub mod enable_poseidon_syscall {
842    solana_pubkey::declare_id!("FL9RsQA6TVUoh5xJQ9d936RHSebA1NLQqe3Zv9sXZRpr");
843}
844
845pub mod timely_vote_credits {
846    solana_pubkey::declare_id!("tvcF6b1TRz353zKuhBjinZkKzjmihXmBAHJdjNYw1sQ");
847}
848
849pub mod remaining_compute_units_syscall_enabled {
850    solana_pubkey::declare_id!("5TuppMutoyzhUSfuYdhgzD47F92GL1g89KpCZQKqedxP");
851}
852
853pub mod enable_loader_v4 {
854    solana_pubkey::declare_id!("2aQJYqER2aKyb3cZw22v4SL2xMX7vwXBRWfvS4pTrtED");
855}
856
857pub mod require_rent_exempt_split_destination {
858    solana_pubkey::declare_id!("D2aip4BBr8NPWtU9vLrwrBvbuaQ8w1zV38zFLxx4pfBV");
859}
860
861pub mod better_error_codes_for_tx_lamport_check {
862    solana_pubkey::declare_id!("Ffswd3egL3tccB6Rv3XY6oqfdzn913vUcjCSnpvCKpfx");
863}
864
865pub mod update_hashes_per_tick2 {
866    solana_pubkey::declare_id!("EWme9uFqfy1ikK1jhJs8fM5hxWnK336QJpbscNtizkTU");
867}
868
869pub mod update_hashes_per_tick3 {
870    solana_pubkey::declare_id!("8C8MCtsab5SsfammbzvYz65HHauuUYdbY2DZ4sznH6h5");
871}
872
873pub mod update_hashes_per_tick4 {
874    solana_pubkey::declare_id!("8We4E7DPwF2WfAN8tRTtWQNhi98B99Qpuj7JoZ3Aikgg");
875}
876
877pub mod update_hashes_per_tick5 {
878    solana_pubkey::declare_id!("BsKLKAn1WM4HVhPRDsjosmqSg2J8Tq5xP2s2daDS6Ni4");
879}
880
881pub mod update_hashes_per_tick6 {
882    solana_pubkey::declare_id!("FKu1qYwLQSiehz644H6Si65U5ZQ2cp9GxsyFUfYcuADv");
883}
884
885pub mod validate_fee_collector_account {
886    solana_pubkey::declare_id!("prpFrMtgNmzaNzkPJg9o753fVvbHKqNrNTm76foJ2wm");
887}
888
889pub mod disable_rent_fees_collection {
890    solana_pubkey::declare_id!("CJzY83ggJHqPGDq8VisV3U91jDJLuEaALZooBrXtnnLU");
891}
892
893pub mod enable_zk_transfer_with_fee {
894    solana_pubkey::declare_id!("zkNLP7EQALfC1TYeB3biDU7akDckj8iPkvh9y2Mt2K3");
895}
896
897pub mod drop_legacy_shreds {
898    solana_pubkey::declare_id!("GV49KKQdBNaiv2pgqhS2Dy3GWYJGXMTVYbYkdk91orRy");
899}
900
901pub mod allow_commission_decrease_at_any_time {
902    solana_pubkey::declare_id!("decoMktMcnmiq6t3u7g5BfgcQu91nKZr6RvMYf9z1Jb");
903}
904
905pub mod add_new_reserved_account_keys {
906    solana_pubkey::declare_id!("8U4skmMVnF6k2kMvrWbQuRUT3qQSiTYpSjqmhmgfthZu");
907}
908
909pub mod consume_blockstore_duplicate_proofs {
910    solana_pubkey::declare_id!("6YsBCejwK96GZCkJ6mkZ4b68oP63z2PLoQmWjC7ggTqZ");
911}
912
913pub mod index_erasure_conflict_duplicate_proofs {
914    solana_pubkey::declare_id!("dupPajaLy2SSn8ko42aZz4mHANDNrLe8Nw8VQgFecLa");
915}
916
917pub mod merkle_conflict_duplicate_proofs {
918    solana_pubkey::declare_id!("mrkPjRg79B2oK2ZLgd7S3AfEJaX9B6gAF3H9aEykRUS");
919}
920
921pub mod disable_bpf_loader_instructions {
922    solana_pubkey::declare_id!("7WeS1vfPRgeeoXArLh7879YcB9mgE9ktjPDtajXeWfXn");
923}
924
925pub mod enable_zk_proof_from_account {
926    solana_pubkey::declare_id!("zkiTNuzBKxrCLMKehzuQeKZyLtX2yvFcEKMML8nExU8");
927}
928
929pub mod cost_model_requested_write_lock_cost {
930    solana_pubkey::declare_id!("wLckV1a64ngtcKPRGU4S4grVTestXjmNjxBjaKZrAcn");
931}
932
933pub mod enable_gossip_duplicate_proof_ingestion {
934    solana_pubkey::declare_id!("FNKCMBzYUdjhHyPdsKG2LSmdzH8TCHXn3ytj8RNBS4nG");
935}
936
937pub mod chained_merkle_conflict_duplicate_proofs {
938    solana_pubkey::declare_id!("chaie9S2zVfuxJKNRGkyTDokLwWxx6kD2ZLsqQHaDD8");
939}
940
941pub mod enable_chained_merkle_shreds {
942    solana_pubkey::declare_id!("7uZBkJXJ1HkuP6R3MJfZs7mLwymBcDbKdqbF51ZWLier");
943}
944
945pub mod remove_rounding_in_fee_calculation {
946    solana_pubkey::declare_id!("BtVN7YjDzNE6Dk7kTT7YTDgMNUZTNgiSJgsdzAeTg2jF");
947}
948
949pub mod enable_tower_sync_ix {
950    solana_pubkey::declare_id!("tSynMCspg4xFiCj1v3TDb4c7crMR5tSBhLz4sF7rrNA");
951}
952
953pub mod deprecate_unused_legacy_vote_plumbing {
954    solana_pubkey::declare_id!("6Uf8S75PVh91MYgPQSHnjRAPQq6an5BDv9vomrCwDqLe");
955}
956
957pub mod reward_full_priority_fee {
958    solana_pubkey::declare_id!("3opE3EzAKnUftUDURkzMgwpNgimBAypW1mNDYH4x4Zg7");
959}
960
961pub mod get_sysvar_syscall_enabled {
962    solana_pubkey::declare_id!("CLCoTADvV64PSrnR6QXty6Fwrt9Xc6EdxSJE4wLRePjq");
963}
964
965pub mod abort_on_invalid_curve {
966    solana_pubkey::declare_id!("FuS3FPfJDKSNot99ECLXtp3rueq36hMNStJkPJwWodLh");
967}
968
969pub mod migrate_feature_gate_program_to_core_bpf {
970    solana_pubkey::declare_id!("4eohviozzEeivk1y9UbrnekbAFMDQyJz5JjA9Y6gyvky");
971}
972
973pub mod vote_only_full_fec_sets {
974    solana_pubkey::declare_id!("ffecLRhhakKSGhMuc6Fz2Lnfq4uT9q3iu9ZsNaPLxPc");
975}
976
977pub mod migrate_config_program_to_core_bpf {
978    solana_pubkey::declare_id!("2Fr57nzzkLYXW695UdDxDeR5fhnZWSttZeZYemrnpGFV");
979}
980
981pub mod enable_get_epoch_stake_syscall {
982    solana_pubkey::declare_id!("FKe75t4LXxGaQnVHdUKM6DSFifVVraGZ8LyNo7oPwy1Z");
983}
984
985pub mod migrate_address_lookup_table_program_to_core_bpf {
986    solana_pubkey::declare_id!("C97eKZygrkU4JxJsZdjgbUY7iQR7rKTr4NyDWo2E5pRm");
987}
988
989pub mod zk_elgamal_proof_program_enabled {
990    solana_pubkey::declare_id!("zkhiy5oLowR7HY4zogXjCjeMXyruLqBwSWH21qcFtnv");
991}
992
993pub mod verify_retransmitter_signature {
994    solana_pubkey::declare_id!("51VCKU5eV6mcTc9q9ArfWELU2CqDoi13hdAjr6fHMdtv");
995}
996
997pub mod move_stake_and_move_lamports_ixs {
998    solana_pubkey::declare_id!("7bTK6Jis8Xpfrs8ZoUfiMDPazTcdPcTWheZFJTA5Z6X4");
999}
1000
1001pub mod ed25519_precompile_verify_strict {
1002    solana_pubkey::declare_id!("ed9tNscbWLYBooxWA7FE2B5KHWs8A6sxfY8EzezEcoo");
1003}
1004
1005pub mod vote_only_retransmitter_signed_fec_sets {
1006    solana_pubkey::declare_id!("RfEcA95xnhuwooVAhUUksEJLZBF7xKCLuqrJoqk4Zph");
1007}
1008
1009pub mod move_precompile_verification_to_svm {
1010    solana_pubkey::declare_id!("9ypxGLzkMxi89eDerRKXWDXe44UY2z4hBig4mDhNq5Dp");
1011}
1012
1013pub mod enable_transaction_loading_failure_fees {
1014    solana_pubkey::declare_id!("PaymEPK2oqwT9TXAVfadjztH2H6KfLEB9Hhd5Q5frvP");
1015}
1016
1017pub mod enable_turbine_extended_fanout_experiments {
1018    solana_pubkey::declare_id!("turbRpTzBzDU6PJmWvRTbcJXXGxUs19CvQamUrRD9bN");
1019}
1020
1021pub mod deprecate_legacy_vote_ixs {
1022    solana_pubkey::declare_id!("depVvnQ2UysGrhwdiwU42tCadZL8GcBb1i2GYhMopQv");
1023}
1024
1025pub mod disable_sbpf_v0_execution {
1026    solana_pubkey::declare_id!("TestFeature11111111111111111111111111111111");
1027}
1028
1029pub mod reenable_sbpf_v0_execution {
1030    solana_pubkey::declare_id!("TestFeature21111111111111111111111111111111");
1031}
1032
1033pub mod enable_sbpf_v1_deployment_and_execution {
1034    solana_pubkey::declare_id!("JE86WkYvTrzW8HgNmrHY7dFYpCmSptUpKupbo2AdQ9cG");
1035}
1036
1037pub mod enable_sbpf_v2_deployment_and_execution {
1038    solana_pubkey::declare_id!("F6UVKh1ujTEFK3en2SyAL3cdVnqko1FVEXWhmdLRu6WP");
1039}
1040
1041pub mod enable_sbpf_v3_deployment_and_execution {
1042    solana_pubkey::declare_id!("5cC3foj77CWun58pC51ebHFUWavHWKarWyR5UUik7dnC");
1043}
1044
1045pub mod remove_accounts_executable_flag_checks {
1046    solana_pubkey::declare_id!("FXs1zh47QbNnhXcnB6YiAQoJ4sGB91tKF3UFHLcKT7PM");
1047}
1048
1049pub mod disable_account_loader_special_case {
1050    solana_pubkey::declare_id!("EQUMpNFr7Nacb1sva56xn1aLfBxppEoSBH8RRVdkcD1x");
1051}
1052
1053pub mod enable_secp256r1_precompile {
1054    solana_pubkey::declare_id!("srremy31J5Y25FrAApwVb9kZcfXbusYMMsvTK9aWv5q");
1055}
1056
1057pub mod accounts_lt_hash {
1058    solana_pubkey::declare_id!("LTHasHQX6661DaDD4S6A2TFi6QBuiwXKv66fB1obfHq");
1059}
1060
1061pub mod snapshots_lt_hash {
1062    solana_pubkey::declare_id!("LTsNAP8h1voEVVToMNBNqoiNQex4aqfUrbFhRH3mSQ2");
1063}
1064
1065pub mod remove_accounts_delta_hash {
1066    solana_pubkey::declare_id!("LTdLt9Ycbyoipz5fLysCi1NnDnASsZfmJLJXts5ZxZz");
1067}
1068
1069pub mod migrate_stake_program_to_core_bpf {
1070    solana_pubkey::declare_id!("6M4oQ6eXneVhtLoiAr4yRYQY43eVLjrKbiDZDJc892yk");
1071}
1072
1073pub mod deplete_cu_meter_on_vm_failure {
1074    solana_pubkey::declare_id!("B7H2caeia4ZFcpE3QcgMqbiWiBtWrdBRBSJ1DY6Ktxbq");
1075}
1076
1077pub mod reserve_minimal_cus_for_builtin_instructions {
1078    solana_pubkey::declare_id!("C9oAhLxDBm3ssWtJx1yBGzPY55r2rArHmN1pbQn6HogH");
1079}
1080
1081pub mod raise_block_limits_to_50m {
1082    solana_pubkey::declare_id!("5oMCU3JPaFLr8Zr4ct7yFA7jdk6Mw1RmB8K4u9ZbS42z");
1083}
1084
1085pub mod drop_unchained_merkle_shreds {
1086    solana_pubkey::declare_id!("5KLGJSASDVxKPjLCDWNtnABLpZjsQSrYZ8HKwcEdAMC8");
1087}
1088
1089pub mod relax_intrabatch_account_locks {
1090    solana_pubkey::declare_id!("4WeHX6QoXCCwqbSFgi6dxnB6QsPo6YApaNTH7P4MLQ99");
1091}
1092
1093pub mod create_slashing_program {
1094    solana_pubkey::declare_id!("sProgVaNWkYdP2eTRAy1CPrgb3b9p8yXCASrPEqo6VJ");
1095}
1096
1097pub mod disable_partitioned_rent_collection {
1098    solana_pubkey::declare_id!("2B2SBNbUcr438LtGXNcJNBP2GBSxjx81F945SdSkUSfC");
1099}
1100
1101pub mod enable_vote_address_leader_schedule {
1102    solana_pubkey::declare_id!("5JsG4NWH8Jbrqdd8uL6BNwnyZK3dQSoieRXG5vmofj9y");
1103}
1104
1105pub mod require_static_nonce_account {
1106    solana_pubkey::declare_id!("7VVhpg5oAjAmnmz1zCcSHb2Z9ecZB2FQqpnEwReka9Zm");
1107}
1108
1109pub mod raise_block_limits_to_60m {
1110    solana_pubkey::declare_id!("6oMCUgfY6BzZ6jwB681J6ju5Bh6CjVXbd7NeWYqiXBSu");
1111}
1112
1113pub mod mask_out_rent_epoch_in_vm_serialization {
1114    solana_pubkey::declare_id!("RENtePQcDLrAbxAsP3k8dwVcnNYQ466hi2uKvALjnXx");
1115}
1116
1117pub mod enshrine_slashing_program {
1118    solana_pubkey::declare_id!("sProgVaNWkYdP2eTRAy1CPrgb3b9p8yXCASrPEqo6VJ");
1119}
1120
1121pub mod enable_extend_program_checked {
1122    solana_pubkey::declare_id!("2oMRZEDWT2tqtYMofhmmfQ8SsjqUFzT6sYXppQDavxwz");
1123}
1124
1125pub mod formalize_loaded_transaction_data_size {
1126    solana_pubkey::declare_id!("DeS7sR48ZcFTUmt5FFEVDr1v1bh73aAbZiZq3SYr8Eh8");
1127}
1128
1129pub mod alpenglow {
1130    #[cfg(feature = "dev-context-only-utils")]
1131    use {
1132        solana_keypair::{Keypair, Signer},
1133        std::sync::LazyLock,
1134    };
1135
1136    // Used to activate alpenglow in local-cluster tests without exposing the actual feature's private key
1137    #[cfg(feature = "dev-context-only-utils")]
1138    pub static TEST_KEYPAIR: LazyLock<Keypair> = LazyLock::new(|| {
1139        let keypair = Keypair::from_base58_string("2Vzd6oTWU4RtM5UmsSyBH3tAhPSi1sKqMeMC8bF1jzHHLBMRhEWtrfmBV4EmwQbGSwkunk5Wy67kXNAL1ZL1xQhR");
1140        assert_eq!(keypair.pubkey(), super::alpenglow::id());
1141        keypair
1142    });
1143
1144    #[cfg(not(feature = "dev-context-only-utils"))]
1145    solana_pubkey::declare_id!("mustRekeyVm2QHYB3JPefBiU4BY3Z6JkW2k3Scw5GWP");
1146
1147    #[cfg(feature = "dev-context-only-utils")]
1148    solana_pubkey::declare_id!("8KpruRFrT59jQ9NfFX9DU6j8a1hW7y6xchvZNQ5rxD4P");
1149}
1150
1151pub mod disable_zk_elgamal_proof_program {
1152    solana_pubkey::declare_id!("zkdoVwnSFnSLtGJG7irJPEYUpmb4i7sGMGcnN6T9rnC");
1153}
1154
1155pub mod reenable_zk_elgamal_proof_program {
1156    solana_pubkey::declare_id!("zkexuyPRdyTVbZqEAREueqL2xvvoBhRgth9xGSc1tMN");
1157}
1158
1159pub mod raise_block_limits_to_100m {
1160    solana_pubkey::declare_id!("P1BCUMpAC7V2GRBRiJCNUgpMyWZhoqt3LKo712ePqsz");
1161}
1162
1163pub mod raise_account_cu_limit {
1164    solana_pubkey::declare_id!("htsptAwi2yRoZH83SKaUXykeZGtZHgxkS2QwW1pssR8");
1165}
1166
1167pub mod delay_commission_updates {
1168    solana_pubkey::declare_id!("76dHtohc2s5dR3ahJyBxs7eJJVipFkaPdih9CLgTTb4B");
1169}
1170
1171pub mod raise_cpi_nesting_limit_to_8 {
1172    solana_pubkey::declare_id!("6TkHkRmP7JZy1fdM6fg5uXn76wChQBWGokHBJzrLB3mj");
1173}
1174
1175pub mod enforce_fixed_fec_set {
1176    solana_pubkey::declare_id!("fixfecLZYMfkGzwq6NJA11Yw6KYztzXiK9QcL3K78in");
1177}
1178
1179pub mod provide_instruction_data_offset_in_vm_r2 {
1180    solana_pubkey::declare_id!("5xXZc66h4UdB6Yq7FzdBxBiRAFMMScMLwHxk2QZDaNZL");
1181}
1182
1183pub mod create_account_allow_prefund {
1184    solana_pubkey::declare_id!("6sPDzwyARRExKH52LECxcGoqziH8G7SZofwuxi8Ja331");
1185}
1186
1187pub mod static_instruction_limit {
1188    solana_pubkey::declare_id!("64ixypL1HPu8WtJhNSMb9mSgfFaJvsANuRkTbHyuLfnx");
1189}
1190
1191pub mod discard_unexpected_data_complete_shreds {
1192    solana_pubkey::declare_id!("dcomRRWHXP1FVWPqi9Mm4oxJhF4ehC795SvAtUdA9os");
1193}
1194
1195pub mod vote_state_v4 {
1196    solana_pubkey::declare_id!("Gx4XFcrVMt4HUvPzTpTSVkdDVgcDSjKhDN1RqRS6KDuZ");
1197
1198    pub mod stake_program_buffer {
1199        solana_pubkey::declare_id!("BM11F4hqrpinQs28sEZfzQ2fYddivYs4NEAHF6QMjkJF");
1200    }
1201}
1202
1203pub mod switch_to_chacha8_turbine {
1204    solana_pubkey::declare_id!("CHaChatUnR3s6cPyPMMGNJa3VdQQ8PNH2JqdD4LpCKnB");
1205}
1206
1207pub mod increase_cpi_account_info_limit {
1208    solana_pubkey::declare_id!("H6iVbVaDZgDphcPbcZwc5LoznMPWQfnJ1AM7L1xzqvt5");
1209}
1210
1211pub mod deprecate_rent_exemption_threshold {
1212    solana_pubkey::declare_id!("rent6iVy6PDoViPBeJ6k5EJQrkj62h7DPyLbWGHwjrC");
1213}
1214
1215pub mod poseidon_enforce_padding {
1216    solana_pubkey::declare_id!("poUdAqRXXsNmfqAZ6UqpjbeYgwBygbfQLEvWSqVhSnb");
1217}
1218
1219pub mod fix_alt_bn128_pairing_length_check {
1220    solana_pubkey::declare_id!("bnYzodLwmybj7e1HAe98yZrdJTd7we69eMMLgCXqKZm");
1221}
1222
1223pub mod replace_spl_token_with_p_token {
1224    use super::Pubkey;
1225
1226    solana_pubkey::declare_id!("ptokFjwyJtrwCa9Kgo9xoDS59V4QccBGEaRFnRPnSdP");
1227
1228    pub const SPL_TOKEN_PROGRAM_ID: Pubkey =
1229        Pubkey::from_str_const("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
1230
1231    pub const PTOKEN_PROGRAM_BUFFER: Pubkey =
1232        Pubkey::from_str_const("ptok6rngomXrDbWf5v5Mkmu5CEbB51hzSCPDoj9DrvF");
1233}
1234
1235pub mod alt_bn128_little_endian {
1236    solana_pubkey::declare_id!("bn2oPgpkzQPT3tohMaAsMVGjhDmmDa4jCaVPqCFmtxM");
1237}
1238
1239pub mod bls_pubkey_management_in_vote_account {
1240    solana_pubkey::declare_id!("2uxQgtKa2ECHGs67Zdj7dgmzn2w9HiqhdcedwCWfYzzq");
1241}
1242
1243pub mod relax_programdata_account_check_migration {
1244    solana_pubkey::declare_id!("rexav5eNTUSNT1K2N7cfRjnthwhcP5BC25v2tA4rW4h");
1245}
1246
1247pub mod enable_alt_bn128_g2_syscalls {
1248    solana_pubkey::declare_id!("bn1hKNURMGQaQoEVxahcEAcqiX3NwRs6hgKKNSLeKxH");
1249}
1250
1251pub mod commission_rate_in_basis_points {
1252    solana_pubkey::declare_id!("CommissionRate1nBasisPoints1111111111111111");
1253}
1254
1255pub mod custom_commission_collector {
1256    solana_pubkey::declare_id!("CustomCommissionCo11ector111111111111111111");
1257}
1258
1259pub mod enable_bls12_381_syscall {
1260    solana_pubkey::declare_id!("b1sgUiJ3qu7hYm3tNDyyqZNQd6gLGJmJppnLNa93PCQ");
1261}
1262
1263// SIMD-0437 feature gates
1264pub mod set_lamports_per_byte_to_6333 {
1265    solana_pubkey::declare_id!("4a6f7o7iTcA8hRDCrPLkSatnt5Ykxiu36wo5p1Tt12wC");
1266
1267    pub const LAMPORTS_PER_BYTE: u64 = 6333;
1268}
1269
1270pub mod set_lamports_per_byte_to_5080 {
1271    solana_pubkey::declare_id!("61BtM7BkDEE8Yq5fskEVAQT9mYA8qCejJWoLe5apqg81");
1272
1273    pub const LAMPORTS_PER_BYTE: u64 = 5080;
1274}
1275
1276pub mod set_lamports_per_byte_to_2575 {
1277    solana_pubkey::declare_id!("Ftxb3ZKq7aNqgxDBbP7EonvR2RszZk9ctjdsTX38kQaz");
1278
1279    pub const LAMPORTS_PER_BYTE: u64 = 2575;
1280}
1281
1282pub mod set_lamports_per_byte_to_1322 {
1283    solana_pubkey::declare_id!("GsUBNYNDPdMLHPD37TToHzrzcNcjpC9w5n1EcJk5iTaM");
1284
1285    pub const LAMPORTS_PER_BYTE: u64 = 1322;
1286}
1287
1288pub mod set_lamports_per_byte_to_696 {
1289    solana_pubkey::declare_id!("mZdnRh9T2EbDNvqKjkCR3bvo5c816tJaojtE9Xs7iuY");
1290
1291    pub const LAMPORTS_PER_BYTE: u64 = 696;
1292}
1293
1294pub mod remove_simple_vote_from_cost_model {
1295    solana_pubkey::declare_id!("2GCrNXbzmt4xrwdcKS2RdsLzsgu4V5zHAemW57pcHT6a");
1296}
1297
1298pub mod limit_instruction_accounts {
1299    solana_pubkey::declare_id!("6aHuNsUmwSzCEMjrBzBCYaxHAyAcQBjVES92JigHBDuC");
1300}
1301
1302pub mod block_revenue_sharing {
1303    solana_pubkey::declare_id!("B1ockRevenueSharing111111111111111111111111");
1304}
1305
1306pub mod vote_account_initialize_v2 {
1307    solana_pubkey::declare_id!("VoteAccount1nitia1izeV211111111111111111111");
1308}
1309
1310pub mod validate_chained_block_id {
1311    solana_pubkey::declare_id!("vcmrbYbiMVKaq1snKP6eCacNDcr6qZvpCNUjmk6gxvZ");
1312}
1313
1314pub mod validate_chained_block_id_2 {
1315    solana_pubkey::declare_id!("vcmrw431aNM8ngQ46derkZXipoTGQdbHkEygBDh12dA");
1316}
1317
1318pub mod validator_admission_ticket {
1319    solana_pubkey::declare_id!("VAT9huvhPjRN9cyrPytq9rwvEJ3J4ADtjdncgZRyANJ");
1320}
1321
1322pub mod direct_account_pointers_in_program_input {
1323    solana_pubkey::declare_id!("ptr9umikaeAS7ZBBp2fsfRhie16F1V2jCKA2y6gXNAK");
1324}
1325
1326pub mod upgrade_bpf_stake_program_to_v5 {
1327    solana_pubkey::declare_id!("STk5Xj8hdAx3sTzmtJ3QysKkq6X2A3yj73JtxttiRyk");
1328
1329    pub mod buffer {
1330        solana_pubkey::declare_id!("4EBQBjw1kqF1dqUBb6fc5Ji4tCEQgNf9ESGGX3smwXwh");
1331    }
1332}
1333
1334pub static FEATURE_NAMES: LazyLock<AHashMap<Pubkey, &'static str>> = LazyLock::new(|| {
1335    [
1336        (secp256k1_program_enabled::id(), "secp256k1 program"),
1337        (
1338            deprecate_rewards_sysvar::id(),
1339            "deprecate unused rewards sysvar",
1340        ),
1341        (pico_inflation::id(), "pico inflation"),
1342        (
1343            full_inflation::devnet_and_testnet::id(),
1344            "full inflation on devnet and testnet",
1345        ),
1346        (spl_token_v2_multisig_fix::id(), "spl-token multisig fix"),
1347        (
1348            no_overflow_rent_distribution::id(),
1349            "no overflow rent distribution",
1350        ),
1351        (
1352            filter_stake_delegation_accounts::id(),
1353            "filter stake_delegation_accounts #14062",
1354        ),
1355        (
1356            require_custodian_for_locked_stake_authorize::id(),
1357            "require custodian to authorize withdrawer change for locked stake",
1358        ),
1359        (
1360            spl_token_v2_self_transfer_fix::id(),
1361            "spl-token self-transfer fix",
1362        ),
1363        (
1364            full_inflation::mainnet::certusone::enable::id(),
1365            "full inflation enabled by Certus One",
1366        ),
1367        (
1368            full_inflation::mainnet::certusone::vote::id(),
1369            "community vote allowing Certus One to enable full inflation",
1370        ),
1371        (
1372            warp_timestamp_again::id(),
1373            "warp timestamp again, adjust bounding to 25% fast 80% slow #15204",
1374        ),
1375        (check_init_vote_data::id(), "check initialized Vote data"),
1376        (
1377            secp256k1_recover_syscall_enabled::id(),
1378            "secp256k1_recover syscall",
1379        ),
1380        (
1381            system_transfer_zero_check::id(),
1382            "perform all checks for transfers of 0 lamports",
1383        ),
1384        (blake3_syscall_enabled::id(), "blake3 syscall"),
1385        (
1386            dedupe_config_program_signers::id(),
1387            "dedupe config program signers",
1388        ),
1389        (
1390            verify_tx_signatures_len::id(),
1391            "prohibit extra transaction signatures",
1392        ),
1393        (
1394            vote_stake_checked_instructions::id(),
1395            "vote/state program checked instructions #18345",
1396        ),
1397        (
1398            rent_for_sysvars::id(),
1399            "collect rent from accounts owned by sysvars",
1400        ),
1401        (
1402            libsecp256k1_0_5_upgrade_enabled::id(),
1403            "upgrade libsecp256k1 to v0.5.0",
1404        ),
1405        (tx_wide_compute_cap::id(), "transaction wide compute cap"),
1406        (
1407            spl_token_v2_set_authority_fix::id(),
1408            "spl-token set_authority fix",
1409        ),
1410        (
1411            merge_nonce_error_into_system_error::id(),
1412            "merge NonceError into SystemError",
1413        ),
1414        (disable_fees_sysvar::id(), "disable fees sysvar"),
1415        (
1416            stake_merge_with_unmatched_credits_observed::id(),
1417            "allow merging active stakes with unmatched credits_observed #18985",
1418        ),
1419        (
1420            zk_token_sdk_enabled::id(),
1421            "enable Zk Token proof program and syscalls",
1422        ),
1423        (
1424            curve25519_syscall_enabled::id(),
1425            "enable curve25519 syscalls",
1426        ),
1427        (
1428            versioned_tx_message_enabled::id(),
1429            "enable versioned transaction message processing",
1430        ),
1431        (
1432            libsecp256k1_fail_on_bad_count::id(),
1433            "fail libsecp256k1_verify if count appears wrong",
1434        ),
1435        (
1436            libsecp256k1_fail_on_bad_count2::id(),
1437            "fail libsecp256k1_verify if count appears wrong",
1438        ),
1439        (
1440            instructions_sysvar_owned_by_sysvar::id(),
1441            "fix owner for instructions sysvar",
1442        ),
1443        (
1444            stake_program_advance_activating_credits_observed::id(),
1445            "Enable advancing credits observed for activation epoch #19309",
1446        ),
1447        (
1448            credits_auto_rewind::id(),
1449            "Auto rewind stake's credits_observed if (accidental) vote recreation is detected \
1450             #22546",
1451        ),
1452        (
1453            demote_program_write_locks::id(),
1454            "demote program write locks to readonly, except when upgradeable loader present \
1455             #19593 #20265",
1456        ),
1457        (
1458            ed25519_program_enabled::id(),
1459            "enable builtin ed25519 signature verify program",
1460        ),
1461        (
1462            return_data_syscall_enabled::id(),
1463            "enable sol_{set,get}_return_data syscall",
1464        ),
1465        (
1466            reduce_required_deploy_balance::id(),
1467            "reduce required payer balance for program deploys",
1468        ),
1469        (
1470            sol_log_data_syscall_enabled::id(),
1471            "enable sol_log_data syscall",
1472        ),
1473        (
1474            stakes_remove_delegation_if_inactive::id(),
1475            "remove delegations from stakes cache when inactive",
1476        ),
1477        (
1478            do_support_realloc::id(),
1479            "support account data reallocation",
1480        ),
1481        (
1482            prevent_calling_precompiles_as_programs::id(),
1483            "prevent calling precompiles as programs",
1484        ),
1485        (
1486            optimize_epoch_boundary_updates::id(),
1487            "optimize epoch boundary updates",
1488        ),
1489        (
1490            remove_native_loader::id(),
1491            "remove support for the native loader",
1492        ),
1493        (
1494            send_to_tpu_vote_port::id(),
1495            "send votes to the tpu vote port",
1496        ),
1497        (requestable_heap_size::id(), "Requestable heap frame size"),
1498        (disable_fee_calculator::id(), "deprecate fee calculator"),
1499        (
1500            add_compute_budget_program::id(),
1501            "Add compute_budget_program",
1502        ),
1503        (nonce_must_be_writable::id(), "nonce must be writable"),
1504        (spl_token_v3_3_0_release::id(), "spl-token v3.3.0 release"),
1505        (leave_nonce_on_success::id(), "leave nonce as is on success"),
1506        (
1507            reject_empty_instruction_without_program::id(),
1508            "fail instructions which have native_loader as program_id directly",
1509        ),
1510        (
1511            fixed_memcpy_nonoverlapping_check::id(),
1512            "use correct check for nonoverlapping regions in memcpy syscall",
1513        ),
1514        (
1515            reject_non_rent_exempt_vote_withdraws::id(),
1516            "fail vote withdraw instructions which leave the account non-rent-exempt",
1517        ),
1518        (
1519            evict_invalid_stakes_cache_entries::id(),
1520            "evict invalid stakes cache entries on epoch boundaries",
1521        ),
1522        (
1523            allow_votes_to_directly_update_vote_state::id(),
1524            "enable direct vote state update",
1525        ),
1526        (
1527            max_tx_account_locks::id(),
1528            "enforce max number of locked accounts per transaction",
1529        ),
1530        (
1531            require_rent_exempt_accounts::id(),
1532            "require all new transaction accounts with data to be rent-exempt",
1533        ),
1534        (
1535            filter_votes_outside_slot_hashes::id(),
1536            "filter vote slots older than the slot hashes history",
1537        ),
1538        (update_syscall_base_costs::id(), "update syscall base costs"),
1539        (
1540            stake_deactivate_delinquent_instruction::id(),
1541            "enable the deactivate delinquent stake instruction #23932",
1542        ),
1543        (
1544            vote_withdraw_authority_may_change_authorized_voter::id(),
1545            "vote account withdraw authority may change the authorized voter #22521",
1546        ),
1547        (
1548            spl_associated_token_account_v1_0_4::id(),
1549            "SPL Associated Token Account Program release version 1.0.4, tied to token 3.3.0 \
1550             #22648",
1551        ),
1552        (
1553            reject_vote_account_close_unless_zero_credit_epoch::id(),
1554            "fail vote account withdraw to 0 unless account earned 0 credits in last completed \
1555             epoch",
1556        ),
1557        (
1558            add_get_processed_sibling_instruction_syscall::id(),
1559            "add add_get_processed_sibling_instruction_syscall",
1560        ),
1561        (
1562            bank_transaction_count_fix::id(),
1563            "fixes Bank::transaction_count to include all committed transactions, not just \
1564             successful ones",
1565        ),
1566        (
1567            disable_bpf_deprecated_load_instructions::id(),
1568            "disable ldabs* and ldind* SBF instructions",
1569        ),
1570        (
1571            disable_bpf_unresolved_symbols_at_runtime::id(),
1572            "disable reporting of unresolved SBF symbols at runtime",
1573        ),
1574        (
1575            record_instruction_in_transaction_context_push::id(),
1576            "move the CPI stack overflow check to the end of push",
1577        ),
1578        (syscall_saturated_math::id(), "syscalls use saturated math"),
1579        (
1580            check_physical_overlapping::id(),
1581            "check physical overlapping regions",
1582        ),
1583        (
1584            limit_secp256k1_recovery_id::id(),
1585            "limit secp256k1 recovery id",
1586        ),
1587        (
1588            disable_deprecated_loader::id(),
1589            "disable the deprecated BPF loader",
1590        ),
1591        (
1592            check_slice_translation_size::id(),
1593            "check size when translating slices",
1594        ),
1595        (
1596            stake_split_uses_rent_sysvar::id(),
1597            "stake split instruction uses rent sysvar",
1598        ),
1599        (
1600            add_get_minimum_delegation_instruction_to_stake_program::id(),
1601            "add GetMinimumDelegation instruction to stake program",
1602        ),
1603        (
1604            error_on_syscall_bpf_function_hash_collisions::id(),
1605            "error on bpf function hash collisions",
1606        ),
1607        (reject_callx_r10::id(), "Reject bpf callx r10 instructions"),
1608        (
1609            drop_redundant_turbine_path::id(),
1610            "drop redundant turbine path",
1611        ),
1612        (
1613            executables_incur_cpi_data_cost::id(),
1614            "Executables incur CPI data costs",
1615        ),
1616        (
1617            fix_recent_blockhashes::id(),
1618            "stop adding hashes for skipped slots to recent blockhashes",
1619        ),
1620        (
1621            update_rewards_from_cached_accounts::id(),
1622            "update rewards from cached accounts",
1623        ),
1624        (
1625            spl_token_v3_4_0::id(),
1626            "SPL Token Program version 3.4.0 release #24740",
1627        ),
1628        (
1629            spl_associated_token_account_v1_1_0::id(),
1630            "SPL Associated Token Account Program version 1.1.0 release #24741",
1631        ),
1632        (
1633            default_units_per_instruction::id(),
1634            "Default max tx-wide compute units calculated per instruction",
1635        ),
1636        (
1637            stake_allow_zero_undelegated_amount::id(),
1638            "Allow zero-lamport undelegated amount for initialized stakes #24670",
1639        ),
1640        (
1641            require_static_program_ids_in_transaction::id(),
1642            "require static program ids in versioned transactions",
1643        ),
1644        (
1645            stake_raise_minimum_delegation_to_1_sol::id(),
1646            "Raise minimum stake delegation to 1.0 SOL #24357",
1647        ),
1648        (
1649            stake_minimum_delegation_for_rewards::id(),
1650            "stakes must be at least the minimum delegation to earn rewards",
1651        ),
1652        (
1653            add_set_compute_unit_price_ix::id(),
1654            "add compute budget ix for setting a compute unit price",
1655        ),
1656        (
1657            disable_deploy_of_alloc_free_syscall::id(),
1658            "disable new deployments of deprecated sol_alloc_free_ syscall",
1659        ),
1660        (
1661            include_account_index_in_rent_error::id(),
1662            "include account index in rent tx error #25190",
1663        ),
1664        (
1665            add_shred_type_to_shred_seed::id(),
1666            "add shred-type to shred seed #25556",
1667        ),
1668        (
1669            warp_timestamp_with_a_vengeance::id(),
1670            "warp timestamp again, adjust bounding to 150% slow #25666",
1671        ),
1672        (
1673            separate_nonce_from_blockhash::id(),
1674            "separate durable nonce and blockhash domains #25744",
1675        ),
1676        (enable_durable_nonce::id(), "enable durable nonce #25744"),
1677        (
1678            vote_state_update_credit_per_dequeue::id(),
1679            "Calculate vote credits for VoteStateUpdate per vote dequeue to match credit awards \
1680             for Vote instruction",
1681        ),
1682        (quick_bail_on_panic::id(), "quick bail on panic"),
1683        (nonce_must_be_authorized::id(), "nonce must be authorized"),
1684        (
1685            nonce_must_be_advanceable::id(),
1686            "durable nonces must be advanceable",
1687        ),
1688        (
1689            vote_authorize_with_seed::id(),
1690            "An instruction you can use to change a vote accounts authority when the current \
1691             authority is a derived key #25860",
1692        ),
1693        (
1694            preserve_rent_epoch_for_rent_exempt_accounts::id(),
1695            "preserve rent epoch for rent exempt accounts #26479",
1696        ),
1697        (
1698            enable_bpf_loader_extend_program_ix::id(),
1699            "enable bpf upgradeable loader ExtendProgram instruction #25234",
1700        ),
1701        (skip_rent_rewrites::id(), "SIMD-0183: Skip rent rewrites"),
1702        (
1703            enable_early_verification_of_account_modifications::id(),
1704            "enable early verification of account modifications #25899",
1705        ),
1706        (
1707            disable_rehash_for_rent_epoch::id(),
1708            "on accounts hash calculation, do not try to rehash accounts #28934",
1709        ),
1710        (
1711            account_hash_ignore_slot::id(),
1712            "ignore slot when calculating an account hash #28420",
1713        ),
1714        (
1715            set_exempt_rent_epoch_max::id(),
1716            "set rent epoch to Epoch::MAX for rent-exempt accounts #28683",
1717        ),
1718        (
1719            on_load_preserve_rent_epoch_for_rent_exempt_accounts::id(),
1720            "on bank load account, do not try to fix up rent_epoch #28541",
1721        ),
1722        (
1723            prevent_crediting_accounts_that_end_rent_paying::id(),
1724            "prevent crediting rent paying accounts #26606",
1725        ),
1726        (
1727            cap_bpf_program_instruction_accounts::id(),
1728            "enforce max number of accounts per bpf program instruction #26628",
1729        ),
1730        (
1731            loosen_cpi_size_restriction::id(),
1732            "loosen cpi size restrictions #26641",
1733        ),
1734        (
1735            use_default_units_in_fee_calculation::id(),
1736            "use default units per instruction in fee calculation #26785",
1737        ),
1738        (
1739            compact_vote_state_updates::id(),
1740            "Compact vote state updates to lower block size",
1741        ),
1742        (
1743            incremental_snapshot_only_incremental_hash_calculation::id(),
1744            "only hash accounts in incremental snapshot during incremental snapshot creation \
1745             #26799",
1746        ),
1747        (
1748            disable_cpi_setting_executable_and_rent_epoch::id(),
1749            "disable setting is_executable and_rent_epoch in CPI #26987",
1750        ),
1751        (
1752            relax_authority_signer_check_for_lookup_table_creation::id(),
1753            "relax authority signer check for lookup table creation #27205",
1754        ),
1755        (
1756            stop_sibling_instruction_search_at_parent::id(),
1757            "stop the search in get_processed_sibling_instruction when the parent instruction is \
1758             reached #27289",
1759        ),
1760        (
1761            vote_state_update_root_fix::id(),
1762            "fix root in vote state updates #27361",
1763        ),
1764        (
1765            cap_accounts_data_allocations_per_transaction::id(),
1766            "cap accounts data allocations per transaction #27375",
1767        ),
1768        (
1769            epoch_accounts_hash::id(),
1770            "enable epoch accounts hash calculation #27539",
1771        ),
1772        (
1773            remove_deprecated_request_unit_ix::id(),
1774            "remove support for RequestUnitsDeprecated instruction #27500",
1775        ),
1776        (
1777            increase_tx_account_lock_limit::id(),
1778            "increase tx account lock limit to 128 #27241",
1779        ),
1780        (
1781            limit_max_instruction_trace_length::id(),
1782            "limit max instruction trace length #27939",
1783        ),
1784        (
1785            check_syscall_outputs_do_not_overlap::id(),
1786            "check syscall outputs do_not overlap #28600",
1787        ),
1788        (
1789            enable_bpf_loader_set_authority_checked_ix::id(),
1790            "enable bpf upgradeable loader SetAuthorityChecked instruction #28424",
1791        ),
1792        (
1793            enable_alt_bn128_syscall::id(),
1794            "add alt_bn128 syscalls #27961",
1795        ),
1796        (
1797            simplify_alt_bn128_syscall_error_codes::id(),
1798            "SIMD-0129: simplify alt_bn128 syscall error codes",
1799        ),
1800        (
1801            enable_program_redeployment_cooldown::id(),
1802            "enable program redeployment cooldown #29135",
1803        ),
1804        (
1805            commission_updates_only_allowed_in_first_half_of_epoch::id(),
1806            "validator commission updates are only allowed in the first half of an epoch #29362",
1807        ),
1808        (
1809            enable_turbine_fanout_experiments::id(),
1810            "enable turbine fanout experiments #29393",
1811        ),
1812        (
1813            disable_turbine_fanout_experiments::id(),
1814            "disable turbine fanout experiments #29393",
1815        ),
1816        (
1817            move_serialized_len_ptr_in_cpi::id(),
1818            "cpi ignore serialized_len_ptr #29592",
1819        ),
1820        (
1821            update_hashes_per_tick::id(),
1822            "Update desired hashes per tick on epoch boundary",
1823        ),
1824        (
1825            enable_big_mod_exp_syscall::id(),
1826            "add big_mod_exp syscall #28503",
1827        ),
1828        (
1829            disable_builtin_loader_ownership_chains::id(),
1830            "disable builtin loader ownership chains #29956",
1831        ),
1832        (
1833            cap_transaction_accounts_data_size::id(),
1834            "cap transaction accounts data size up to a limit #27839",
1835        ),
1836        (
1837            remove_congestion_multiplier_from_fee_calculation::id(),
1838            "Remove congestion multiplier from transaction fee calculation #29881",
1839        ),
1840        (
1841            enable_request_heap_frame_ix::id(),
1842            "Enable transaction to request heap frame using compute budget instruction #30076",
1843        ),
1844        (
1845            prevent_rent_paying_rent_recipients::id(),
1846            "prevent recipients of rent rewards from ending in rent-paying state #30151",
1847        ),
1848        (
1849            delay_visibility_of_program_deployment::id(),
1850            "delay visibility of program upgrades #30085",
1851        ),
1852        (
1853            apply_cost_tracker_during_replay::id(),
1854            "apply cost tracker to blocks during replay #29595",
1855        ),
1856        (
1857            add_set_tx_loaded_accounts_data_size_instruction::id(),
1858            "add compute budget instruction for setting account data size per transaction #30366",
1859        ),
1860        (
1861            switch_to_new_elf_parser::id(),
1862            "switch to new ELF parser #30497",
1863        ),
1864        (
1865            round_up_heap_size::id(),
1866            "round up heap size when calculating heap cost #30679",
1867        ),
1868        (
1869            remove_bpf_loader_incorrect_program_id::id(),
1870            "stop incorrectly throwing IncorrectProgramId in bpf_loader #30747",
1871        ),
1872        (
1873            include_loaded_accounts_data_size_in_fee_calculation::id(),
1874            "include transaction loaded accounts data size in base fee calculation #30657",
1875        ),
1876        (
1877            native_programs_consume_cu::id(),
1878            "Native program should consume compute units #30620",
1879        ),
1880        (
1881            simplify_writable_program_account_check::id(),
1882            "Simplify checks performed for writable upgradeable program accounts #30559",
1883        ),
1884        (
1885            stop_truncating_strings_in_syscalls::id(),
1886            "Stop truncating strings in syscalls #31029",
1887        ),
1888        (
1889            clean_up_delegation_errors::id(),
1890            "Return InsufficientDelegation instead of InsufficientFunds or InsufficientStake \
1891             where applicable #31206",
1892        ),
1893        (
1894            vote_state_add_vote_latency::id(),
1895            "replace Lockout with LandedVote (including vote latency) in vote state #31264",
1896        ),
1897        (
1898            checked_arithmetic_in_fee_validation::id(),
1899            "checked arithmetic in fee validation #31273",
1900        ),
1901        (
1902            syscall_parameter_address_restrictions::id(),
1903            "SIMD-0459: Syscall Parameter Address Restrictions",
1904        ),
1905        (
1906            virtual_address_space_adjustments::id(),
1907            "SIMD-0460: Virtual Address Space Adjustments",
1908        ),
1909        (
1910            account_data_direct_mapping::id(),
1911            "enable account data direct mapping",
1912        ),
1913        (
1914            last_restart_slot_sysvar::id(),
1915            "SIMD-0047: Enable new sysvar last_restart_slot",
1916        ),
1917        (
1918            reduce_stake_warmup_cooldown::id(),
1919            "reduce stake warmup cooldown from 25% to 9%",
1920        ),
1921        (
1922            revise_turbine_epoch_stakes::id(),
1923            "revise turbine epoch stakes",
1924        ),
1925        (enable_poseidon_syscall::id(), "Enable Poseidon syscall"),
1926        (
1927            timely_vote_credits::id(),
1928            "use timeliness of votes in determining credits to award",
1929        ),
1930        (
1931            remaining_compute_units_syscall_enabled::id(),
1932            "enable the remaining_compute_units syscall",
1933        ),
1934        (enable_loader_v4::id(), "SIMD-0167: Enable Loader-v4"),
1935        (
1936            require_rent_exempt_split_destination::id(),
1937            "Require stake split destination account to be rent exempt",
1938        ),
1939        (
1940            better_error_codes_for_tx_lamport_check::id(),
1941            "better error codes for tx lamport check #33353",
1942        ),
1943        (
1944            enable_alt_bn128_compression_syscall::id(),
1945            "add alt_bn128 compression syscalls",
1946        ),
1947        (
1948            update_hashes_per_tick2::id(),
1949            "Update desired hashes per tick to 2.8M",
1950        ),
1951        (
1952            update_hashes_per_tick3::id(),
1953            "Update desired hashes per tick to 4.4M",
1954        ),
1955        (
1956            update_hashes_per_tick4::id(),
1957            "Update desired hashes per tick to 7.6M",
1958        ),
1959        (
1960            update_hashes_per_tick5::id(),
1961            "Update desired hashes per tick to 9.2M",
1962        ),
1963        (
1964            update_hashes_per_tick6::id(),
1965            "Update desired hashes per tick to 10M",
1966        ),
1967        (
1968            validate_fee_collector_account::id(),
1969            "validate fee collector account #33888",
1970        ),
1971        (
1972            disable_rent_fees_collection::id(),
1973            "SIMD-0084: Disable rent fees collection",
1974        ),
1975        (
1976            enable_zk_transfer_with_fee::id(),
1977            "enable Zk Token proof program transfer with fee",
1978        ),
1979        (drop_legacy_shreds::id(), "drops legacy shreds #34328"),
1980        (
1981            allow_commission_decrease_at_any_time::id(),
1982            "Allow commission decrease at any time in epoch #33843",
1983        ),
1984        (
1985            consume_blockstore_duplicate_proofs::id(),
1986            "consume duplicate proofs from blockstore in consensus #34372",
1987        ),
1988        (
1989            add_new_reserved_account_keys::id(),
1990            "SIMD-0105: Maintain Dynamic Set of Reserved Account Keys",
1991        ),
1992        (
1993            index_erasure_conflict_duplicate_proofs::id(),
1994            "generate duplicate proofs for index and erasure conflicts #34360",
1995        ),
1996        (
1997            merkle_conflict_duplicate_proofs::id(),
1998            "generate duplicate proofs for merkle root conflicts #34270",
1999        ),
2000        (
2001            disable_bpf_loader_instructions::id(),
2002            "disable bpf loader management instructions #34194",
2003        ),
2004        (
2005            enable_zk_proof_from_account::id(),
2006            "Enable zk token proof program to read proof from accounts instead of instruction \
2007             data #34750",
2008        ),
2009        (
2010            curve25519_restrict_msm_length::id(),
2011            "restrict curve25519 multiscalar multiplication vector lengths #34763",
2012        ),
2013        (
2014            cost_model_requested_write_lock_cost::id(),
2015            "cost model uses number of requested write locks #34819",
2016        ),
2017        (
2018            enable_gossip_duplicate_proof_ingestion::id(),
2019            "enable gossip duplicate proof ingestion #32963",
2020        ),
2021        (
2022            enable_chained_merkle_shreds::id(),
2023            "Enable chained Merkle shreds #34916",
2024        ),
2025        (
2026            remove_rounding_in_fee_calculation::id(),
2027            "Removing unwanted rounding in fee calculation #34982",
2028        ),
2029        (
2030            deprecate_unused_legacy_vote_plumbing::id(),
2031            "Deprecate unused legacy vote tx plumbing",
2032        ),
2033        (
2034            enable_tower_sync_ix::id(),
2035            "Enable tower sync vote instruction",
2036        ),
2037        (
2038            chained_merkle_conflict_duplicate_proofs::id(),
2039            "generate duplicate proofs for chained merkle root conflicts",
2040        ),
2041        (
2042            reward_full_priority_fee::id(),
2043            "SIMD-0096: Reward full priority fee to validators",
2044        ),
2045        (
2046            abort_on_invalid_curve::id(),
2047            "SIMD-0137: Abort when elliptic curve syscalls invoked on invalid curve id",
2048        ),
2049        (
2050            get_sysvar_syscall_enabled::id(),
2051            "SIMD-0127: Enable syscall for fetching Sysvar bytes",
2052        ),
2053        (
2054            migrate_feature_gate_program_to_core_bpf::id(),
2055            "SIMD-0089: Migrate Feature Gate program to Core BPF (programify)",
2056        ),
2057        (vote_only_full_fec_sets::id(), "vote only full fec sets"),
2058        (
2059            migrate_config_program_to_core_bpf::id(),
2060            "SIMD-0140: Migrate Config program to Core BPF",
2061        ),
2062        (
2063            enable_get_epoch_stake_syscall::id(),
2064            "SIMD-0133: Enable syscall: sol_get_epoch_stake",
2065        ),
2066        (
2067            migrate_address_lookup_table_program_to_core_bpf::id(),
2068            "SIMD-0128: Migrate Address Lookup Table program to Core BPF",
2069        ),
2070        (
2071            zk_elgamal_proof_program_enabled::id(),
2072            "SIMD-0153: Enable ZkElGamalProof program",
2073        ),
2074        (
2075            verify_retransmitter_signature::id(),
2076            "Verify retransmitter signature #1840",
2077        ),
2078        (
2079            move_stake_and_move_lamports_ixs::id(),
2080            "Enable MoveStake and MoveLamports stake program instructions #1610",
2081        ),
2082        (
2083            ed25519_precompile_verify_strict::id(),
2084            "SIMD-0152: Use strict verification in ed25519 precompile",
2085        ),
2086        (
2087            vote_only_retransmitter_signed_fec_sets::id(),
2088            "vote only on retransmitter signed fec sets",
2089        ),
2090        (
2091            move_precompile_verification_to_svm::id(),
2092            "SIMD-0159: Move precompile verification into SVM",
2093        ),
2094        (
2095            enable_transaction_loading_failure_fees::id(),
2096            "SIMD-0082: Enable fees for some additional transaction failures",
2097        ),
2098        (
2099            enable_turbine_extended_fanout_experiments::id(),
2100            "enable turbine extended fanout experiments #",
2101        ),
2102        (
2103            deprecate_legacy_vote_ixs::id(),
2104            "Deprecate legacy vote instructions",
2105        ),
2106        (
2107            partitioned_epoch_rewards_superfeature::id(),
2108            "SIMD-0118: replaces enable_partitioned_epoch_reward to enable partitioned rewards at \
2109             epoch boundary",
2110        ),
2111        (
2112            disable_sbpf_v0_execution::id(),
2113            "SIMD-0161: Disables execution of SBPFv0 programs",
2114        ),
2115        (
2116            reenable_sbpf_v0_execution::id(),
2117            "Re-enables execution of SBPFv0 programs",
2118        ),
2119        (
2120            enable_sbpf_v1_deployment_and_execution::id(),
2121            "SIMD-0166: Enable deployment and execution of SBPFv1 programs",
2122        ),
2123        (
2124            enable_sbpf_v2_deployment_and_execution::id(),
2125            "SIMD-0173 and SIMD-0174: Enable deployment and execution of SBPFv2 programs",
2126        ),
2127        (
2128            enable_sbpf_v3_deployment_and_execution::id(),
2129            "SIMD-0178, SIMD-0189 and SIMD-0377: Enable deployment and execution of SBPFv3 \
2130             programs",
2131        ),
2132        (
2133            remove_accounts_executable_flag_checks::id(),
2134            "SIMD-0162: Remove checks of accounts is_executable flag",
2135        ),
2136        (
2137            disable_account_loader_special_case::id(),
2138            "Disable account loader special case #3513",
2139        ),
2140        (
2141            accounts_lt_hash::id(),
2142            "SIMD-0215: enables lattice-based accounts hash",
2143        ),
2144        (
2145            snapshots_lt_hash::id(),
2146            "SIMD-0220: snapshots use lattice-based accounts hash",
2147        ),
2148        (
2149            remove_accounts_delta_hash::id(),
2150            "SIMD-0223: removes accounts delta hash",
2151        ),
2152        (
2153            enable_secp256r1_precompile::id(),
2154            "SIMD-0075: Enable secp256r1 precompile",
2155        ),
2156        (
2157            migrate_stake_program_to_core_bpf::id(),
2158            "SIMD-0196: Migrate Stake program to Core BPF #3655",
2159        ),
2160        (
2161            deplete_cu_meter_on_vm_failure::id(),
2162            "SIMD-0182: Deplete compute meter for vm errors #3993",
2163        ),
2164        (
2165            reserve_minimal_cus_for_builtin_instructions::id(),
2166            "SIMD-0170: Reserve minimal CUs for builtin instructions #2562",
2167        ),
2168        (
2169            raise_block_limits_to_50m::id(),
2170            "SIMD-0207: Raise block limit to 50M",
2171        ),
2172        (
2173            fix_alt_bn128_multiplication_input_length::id(),
2174            "SIMD-0222: fix alt_bn128 multiplication input length #3686",
2175        ),
2176        (
2177            drop_unchained_merkle_shreds::id(),
2178            "drops unchained Merkle shreds #2149",
2179        ),
2180        (
2181            relax_intrabatch_account_locks::id(),
2182            "SIMD-0083: Allow batched transactions to read/write and write/write the same accounts",
2183        ),
2184        (
2185            create_slashing_program::id(),
2186            "SIMD-0204: creates an enshrined slashing program",
2187        ),
2188        (
2189            disable_partitioned_rent_collection::id(),
2190            "SIMD-0175: Disable partitioned rent collection #4562",
2191        ),
2192        (
2193            enable_vote_address_leader_schedule::id(),
2194            "SIMD-0180: Enable vote address leader schedule #4573",
2195        ),
2196        (
2197            require_static_nonce_account::id(),
2198            "SIMD-0242: Static Nonce Account Only",
2199        ),
2200        (
2201            raise_block_limits_to_60m::id(),
2202            "SIMD-0256: Raise block limit to 60M",
2203        ),
2204        (
2205            mask_out_rent_epoch_in_vm_serialization::id(),
2206            "SIMD-0267: Sets rent_epoch to a constant in the VM",
2207        ),
2208        (
2209            enshrine_slashing_program::id(),
2210            "SIMD-0204: Slashable event verification",
2211        ),
2212        (
2213            enable_extend_program_checked::id(),
2214            "Enable ExtendProgramChecked instruction",
2215        ),
2216        (
2217            formalize_loaded_transaction_data_size::id(),
2218            "SIMD-0186: Loaded transaction data size specification",
2219        ),
2220        (
2221            alpenglow::id(),
2222            "SIMD-0326: Alpenglow: new consensus algorithm",
2223        ),
2224        (
2225            disable_zk_elgamal_proof_program::id(),
2226            "Disables zk-elgamal-proof program",
2227        ),
2228        (
2229            reenable_zk_elgamal_proof_program::id(),
2230            "Re-enables zk-elgamal-proof program",
2231        ),
2232        (
2233            raise_block_limits_to_100m::id(),
2234            "SIMD-0286: Raise block limit to 100M",
2235        ),
2236        (
2237            raise_account_cu_limit::id(),
2238            "SIMD-0306: Raise account CU limit to 40% max",
2239        ),
2240        (
2241            raise_cpi_nesting_limit_to_8::id(),
2242            "SIMD-0268: Raise CPI nesting limit from 4 to 8",
2243        ),
2244        (
2245            enforce_fixed_fec_set::id(),
2246            "SIMD-0317: Enforce 32 data + 32 coding shreds",
2247        ),
2248        (
2249            provide_instruction_data_offset_in_vm_r2::id(),
2250            "SIMD-0321: Provide instruction data offset in VM r2",
2251        ),
2252        (
2253            create_account_allow_prefund::id(),
2254            "SIMD-0312: Enable CreateAccountAllowPrefund system program instruction",
2255        ),
2256        (
2257            static_instruction_limit::id(),
2258            "SIMD-0160: static instruction limit",
2259        ),
2260        (
2261            discard_unexpected_data_complete_shreds::id(),
2262            "SIMD-0337: Markers for Alpenglow Fast Leader Handover, DATA_COMPLETE_SHRED placement \
2263             rules",
2264        ),
2265        (vote_state_v4::id(), "SIMD-0185: Vote State v4"),
2266        (
2267            switch_to_chacha8_turbine::id(),
2268            "SIMD-0332: Reduce ChaCha rounds for Turbine from 20 to 8",
2269        ),
2270        (
2271            delay_commission_updates::id(),
2272            "SIMD-0249: Delay Commission Updates",
2273        ),
2274        (
2275            increase_cpi_account_info_limit::id(),
2276            "SIMD-0339: Increase CPI Account Infos Limit",
2277        ),
2278        (
2279            deprecate_rent_exemption_threshold::id(),
2280            "SIMD-0194: Deprecate rent exemption threshold",
2281        ),
2282        (
2283            poseidon_enforce_padding::id(),
2284            "SIMD-0359: Enforce padding in Poseidon hash inputs",
2285        ),
2286        (
2287            fix_alt_bn128_pairing_length_check::id(),
2288            "SIMD-0334: Fix alt_bn128_pairing length check",
2289        ),
2290        (
2291            replace_spl_token_with_p_token::id(),
2292            "SIMD-0266: Efficient Token program",
2293        ),
2294        (
2295            alt_bn128_little_endian::id(),
2296            "SIMD-0284: Add little-endian compatibility for alt_bn128",
2297        ),
2298        (
2299            bls_pubkey_management_in_vote_account::id(),
2300            "SIMD-0387: BLS Pubkey Management in Vote Account",
2301        ),
2302        (
2303            relax_programdata_account_check_migration::id(),
2304            "SIMD-0444: Relax program data account check in migration",
2305        ),
2306        (
2307            enable_alt_bn128_g2_syscalls::id(),
2308            "SIMD-0302: Add alt_bn128 G2 syscalls",
2309        ),
2310        (
2311            commission_rate_in_basis_points::id(),
2312            "SIMD-0291: Commission Rate in Basis Points",
2313        ),
2314        (
2315            custom_commission_collector::id(),
2316            "SIMD-0232: Custom Commission Collector",
2317        ),
2318        (
2319            enable_bls12_381_syscall::id(),
2320            "SIMD-0388: BLS12-381 syscalls",
2321        ),
2322        (
2323            set_lamports_per_byte_to_6333::id(),
2324            "SIMD-0437-1: Set lamports per byte to 6333",
2325        ),
2326        (
2327            set_lamports_per_byte_to_5080::id(),
2328            "SIMD-0437-2: Set lamports per byte to 5080",
2329        ),
2330        (
2331            set_lamports_per_byte_to_2575::id(),
2332            "SIMD-0437-3: Set lamports per byte to 2575",
2333        ),
2334        (
2335            set_lamports_per_byte_to_1322::id(),
2336            "SIMD-0437-4: Set lamports per byte to 1322",
2337        ),
2338        (
2339            set_lamports_per_byte_to_696::id(),
2340            "SIMD-0437-5: Set lamports per byte to 696",
2341        ),
2342        (
2343            remove_simple_vote_from_cost_model::id(),
2344            "stop use static SimpleVote transaction cost, issue #10227",
2345        ),
2346        (
2347            limit_instruction_accounts::id(),
2348            "SIMD-0406: Maximum instruction accounts",
2349        ),
2350        (
2351            block_revenue_sharing::id(),
2352            "SIMD-0123: Block Revenue Sharing",
2353        ),
2354        (
2355            vote_account_initialize_v2::id(),
2356            "SIMD-0464: Vote Account Initialize V2",
2357        ),
2358        (
2359            validate_chained_block_id::id(),
2360            "SIMD-0340: Validate chained block ID",
2361        ),
2362        (
2363            validator_admission_ticket::id(),
2364            "SIMD-0357: Alpenglow VAT implementation",
2365        ),
2366        (
2367            direct_account_pointers_in_program_input::id(),
2368            "SIMD-0449: Direct Account Pointers in Program Input",
2369        ),
2370        (
2371            upgrade_bpf_stake_program_to_v5::id(),
2372            "SIMD-0490: Upgrade BPF Stake Program to v5.0.0",
2373        ),
2374        (
2375            validate_chained_block_id_2::id(),
2376            "SIMD-340: Encompassing check for validate chained block ID",
2377        ),
2378        /*************** ADD NEW FEATURES HERE ***************/
2379    ]
2380    .iter()
2381    .cloned()
2382    .collect()
2383});
2384
2385/// Unique identifier of the current software's feature set
2386pub static ID: LazyLock<Hash> = LazyLock::new(|| {
2387    let mut hasher = Hasher::default();
2388    let mut feature_ids = FEATURE_NAMES.keys().collect::<Vec<_>>();
2389    feature_ids.sort();
2390    for feature in feature_ids {
2391        hasher.hash(feature.as_ref());
2392    }
2393    hasher.result()
2394});
2395
2396#[derive(Clone, PartialEq, Eq, Hash)]
2397pub struct FullInflationFeaturePair {
2398    pub vote_id: Pubkey, // Feature that grants the candidate the ability to enable full inflation
2399    pub enable_id: Pubkey, // Feature to enable full inflation by the candidate
2400}
2401
2402/// Set of feature pairs that once enabled will trigger full inflation
2403pub static FULL_INFLATION_FEATURE_PAIRS: LazyLock<AHashSet<FullInflationFeaturePair>> =
2404    LazyLock::new(|| {
2405        [FullInflationFeaturePair {
2406            vote_id: full_inflation::mainnet::certusone::vote::id(),
2407            enable_id: full_inflation::mainnet::certusone::enable::id(),
2408        }]
2409        .iter()
2410        .cloned()
2411        .collect()
2412    });
2413
2414#[cfg(test)]
2415mod test {
2416    use super::*;
2417
2418    #[test]
2419    fn test_full_inflation_features_enabled_devnet_and_testnet() {
2420        let mut feature_set = FeatureSet::default();
2421        assert!(feature_set.full_inflation_features_enabled().is_empty());
2422        feature_set
2423            .active
2424            .insert(full_inflation::devnet_and_testnet::id(), 42);
2425        assert_eq!(
2426            feature_set.full_inflation_features_enabled(),
2427            [full_inflation::devnet_and_testnet::id()]
2428                .iter()
2429                .cloned()
2430                .collect()
2431        );
2432    }
2433
2434    #[test]
2435    fn test_full_inflation_features_enabled() {
2436        // Normal sequence: vote_id then enable_id
2437        let mut feature_set = FeatureSet::default();
2438        assert!(feature_set.full_inflation_features_enabled().is_empty());
2439        feature_set
2440            .active
2441            .insert(full_inflation::mainnet::certusone::vote::id(), 42);
2442        assert!(feature_set.full_inflation_features_enabled().is_empty());
2443        feature_set
2444            .active
2445            .insert(full_inflation::mainnet::certusone::enable::id(), 42);
2446        assert_eq!(
2447            feature_set.full_inflation_features_enabled(),
2448            [full_inflation::mainnet::certusone::enable::id()]
2449                .iter()
2450                .cloned()
2451                .collect()
2452        );
2453
2454        // Backwards sequence: enable_id and then vote_id
2455        let mut feature_set = FeatureSet::default();
2456        assert!(feature_set.full_inflation_features_enabled().is_empty());
2457        feature_set
2458            .active
2459            .insert(full_inflation::mainnet::certusone::enable::id(), 42);
2460        assert!(feature_set.full_inflation_features_enabled().is_empty());
2461        feature_set
2462            .active
2463            .insert(full_inflation::mainnet::certusone::vote::id(), 42);
2464        assert_eq!(
2465            feature_set.full_inflation_features_enabled(),
2466            [full_inflation::mainnet::certusone::enable::id()]
2467                .iter()
2468                .cloned()
2469                .collect()
2470        );
2471    }
2472}