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