Fix builtin handling on epoch boundaries (#23256)

This commit is contained in:
Justin Starry
2022-02-22 20:54:08 +08:00
committed by GitHub
parent c97f34a0fd
commit bcda74f42f
5 changed files with 72 additions and 19 deletions

View File

@ -53,6 +53,10 @@ pub mod full_inflation {
}
}
pub mod secp256k1_program_enabled {
solana_sdk::declare_id!("E3PHP7w8kB7np3CTQ1qQ2tW3KCtjRSXBQgW9vM2mWv2Y");
}
pub mod spl_token_v2_multisig_fix {
solana_sdk::declare_id!("E5JiFDQCwyC6QfT9REFyMpfK2mHcmv1GUDySU1Ue7TYv");
}
@ -314,6 +318,7 @@ pub mod record_instruction_in_transaction_context_push {
lazy_static! {
/// Map of feature identifiers to user-visible description
pub static ref FEATURE_NAMES: HashMap<Pubkey, &'static str> = [
(secp256k1_program_enabled::id(), "secp256k1 program"),
(deprecate_rewards_sysvar::id(), "deprecate unused rewards sysvar"),
(pico_inflation::id(), "pico inflation"),
(full_inflation::devnet_and_testnet::id(), "full inflation on devnet and testnet"),