Skip to content

Commit

Permalink
update featureset from fd (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjain-jump authored Feb 6, 2025
1 parent 6e39bbe commit 9b5cf5c
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ pub static HARDCODED_FEATURES: &[u64] = feature_list![
enable_early_verification_of_account_modifications,
prevent_crediting_accounts_that_end_rent_paying,
cap_bpf_program_instruction_accounts,
loosen_cpi_size_restriction,
use_default_units_in_fee_calculation,
compact_vote_state_updates,
disable_cpi_setting_executable_and_rent_epoch,
Expand Down Expand Up @@ -186,30 +187,42 @@ pub static HARDCODED_FEATURES: &[u64] = feature_list![
stop_truncating_strings_in_syscalls,
vote_state_add_vote_latency,
checked_arithmetic_in_fee_validation,
last_restart_slot_sysvar,
timely_vote_credits,
require_rent_exempt_split_destination,
validate_fee_collector_account,
curve25519_restrict_msm_length,
allow_commission_decrease_at_any_time,
merkle_conflict_duplicate_proofs,
cost_model_requested_write_lock_cost,
enable_gossip_duplicate_proof_ingestion,
enable_chained_merkle_shreds,
remove_rounding_in_fee_calculation,
deprecate_unused_legacy_vote_plumbing,
simplify_alt_bn128_syscall_error_codes,
abort_on_invalid_curve,
ed25519_precompile_verify_strict,
migrate_address_lookup_table_program_to_core_bpf,
zk_elgamal_proof_program_enabled,
move_stake_and_move_lamports_ixs,
partitioned_epoch_rewards_superfeature,
disable_account_loader_special_case,
migrate_config_program_to_core_bpf,
get_sysvar_syscall_enabled,
migrate_address_lookup_table_program_to_core_bpf,
];

static SUPPORTED_FEATURES: &[u64] = feature_list![
deprecate_rewards_sysvar,
pico_inflation,
warp_timestamp_again,
blake3_syscall_enabled,
zk_token_sdk_enabled,
curve25519_syscall_enabled,
enable_partitioned_epoch_reward,
stake_raise_minimum_delegation_to_1_sol,
stake_minimum_delegation_for_rewards,
disable_deploy_of_alloc_free_syscall,
enable_bpf_loader_extend_program_ix,
skip_rent_rewrites,
loosen_cpi_size_restriction,
incremental_snapshot_only_incremental_hash_calculation,
relax_authority_signer_check_for_lookup_table_creation,
increase_tx_account_lock_limit,
Expand All @@ -226,10 +239,8 @@ static SUPPORTED_FEATURES: &[u64] = feature_list![
include_loaded_accounts_data_size_in_fee_calculation,
simplify_writable_program_account_check,
clean_up_delegation_errors,
last_restart_slot_sysvar,
reduce_stake_warmup_cooldown,
enable_poseidon_syscall,
timely_vote_credits,
// remaining_compute_units_syscall_enabled, // NOT impl in fd
enable_program_runtime_v2_and_loader_v4,
better_error_codes_for_tx_lamport_check,
Expand All @@ -243,28 +254,19 @@ static SUPPORTED_FEATURES: &[u64] = feature_list![
drop_legacy_shreds,
consume_blockstore_duplicate_proofs,
index_erasure_conflict_duplicate_proofs,
allow_commission_decrease_at_any_time,
merkle_conflict_duplicate_proofs,
disable_bpf_loader_instructions,
enable_zk_proof_from_account,
cost_model_requested_write_lock_cost,
enable_gossip_duplicate_proof_ingestion,
enable_chained_merkle_shreds,
remove_rounding_in_fee_calculation,
enable_tower_sync_ix,
reward_full_priority_fee,
disable_rent_fees_collection,
add_new_reserved_account_keys,
chained_merkle_conflict_duplicate_proofs,
abort_on_invalid_curve,
zk_elgamal_proof_program_enabled,
move_stake_and_move_lamports_ixs,
deprecate_legacy_vote_ixs,
partitioned_epoch_rewards_superfeature,
enable_secp256r1_precompile,
get_sysvar_syscall_enabled,
migrate_feature_gate_program_to_core_bpf,
migrate_stake_program_to_core_bpf,
enable_get_epoch_stake_syscall,
disable_account_loader_special_case,
move_precompile_verification_to_svm,
];

Expand Down

0 comments on commit 9b5cf5c

Please sign in to comment.