featurize rejection of callx r10 instructions (#24309)
This commit is contained in:
@ -335,6 +335,10 @@ pub mod error_on_syscall_bpf_function_hash_collisions {
|
||||
solana_sdk::declare_id!("8199Q2gMD2kwgfopK5qqVWuDbegLgpuFUFHCcUJQDN8b");
|
||||
}
|
||||
|
||||
pub mod reject_callx_r10 {
|
||||
solana_sdk::declare_id!("3NKRSwpySNwD3TvP5pHnRmkAQRsdkXWRr1WaQh8p4PWX");
|
||||
}
|
||||
|
||||
lazy_static! {
|
||||
/// Map of feature identifiers to user-visible description
|
||||
pub static ref FEATURE_NAMES: HashMap<Pubkey, &'static str> = [
|
||||
@ -413,6 +417,7 @@ lazy_static! {
|
||||
(stake_split_uses_rent_sysvar::id(), "stake split instruction uses rent sysvar"),
|
||||
(add_get_minimum_delegation_instruction_to_stake_program::id(), "add GetMinimumDelegation instruction to stake program"),
|
||||
(error_on_syscall_bpf_function_hash_collisions::id(), "error on bpf function hash collisions"),
|
||||
(reject_callx_r10::id(), "Reject bpf callx r10 instructions"),
|
||||
/*************** ADD NEW FEATURES HERE ***************/
|
||||
]
|
||||
.iter()
|
||||
|
Reference in New Issue
Block a user