From da7a9c69e119cc05d1f815b992c9b153303fa27e Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Mon, 27 Sep 2021 11:02:42 -0600 Subject: [PATCH] Add feature definition --- sdk/src/feature_set.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/src/feature_set.rs b/sdk/src/feature_set.rs index 44db6fc860866e..e5207fdf17bc49 100644 --- a/sdk/src/feature_set.rs +++ b/sdk/src/feature_set.rs @@ -223,6 +223,10 @@ pub mod do_support_realloc { solana_sdk::declare_id!("75m6ysz33AfLA5DDEzWM1obBrnPQRSsdVQ2nRmc8Vuu1"); } +pub mod restore_write_lock_when_upgradeable { + solana_sdk::declare_id!("3Tye2iVqQTxprFSJNpyz5W6SjKNQVfRUDR2s3oVYS6h6"); +} + lazy_static! { /// Map of feature identifiers to user-visible description pub static ref FEATURE_NAMES: HashMap = [ @@ -274,6 +278,7 @@ lazy_static! { (sol_log_data_syscall_enabled::id(), "enable sol_log_data syscall"), (stakes_remove_delegation_if_inactive::id(), "remove delegations from stakes cache when inactive"), (do_support_realloc::id(), "support account data reallocation"), + (restore_write_lock_when_upgradeable::id(), "restore program-id write lock when upgradeable loader present"), /*************** ADD NEW FEATURES HERE ***************/ ] .iter()