* Fix native invoke writable privileges (#19750)
* Fix native invoke writable privileges
* build downstream spl bpf programs for tests
(cherry picked from commit 00d7981f64
)
# Conflicts:
# program-runtime/src/instruction_processor.rs
# runtime/src/message_processor.rs
# sdk/src/feature_set.rs
* resolve conflictds
Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
@@ -199,6 +199,10 @@ pub mod check_seed_length {
|
||||
solana_sdk::declare_id!("8HYXgkoKGreAMA3MfJkdjbKNVbfZRQP3jqFpa7iqN4v7");
|
||||
}
|
||||
|
||||
pub mod fix_write_privs {
|
||||
solana_sdk::declare_id!("7Tr5C1tdcCeBVD8jxtHYnvjL1DGdFboYBHCJkEFdenBb");
|
||||
}
|
||||
|
||||
lazy_static! {
|
||||
/// Map of feature identifiers to user-visible description
|
||||
pub static ref FEATURE_NAMES: HashMap<Pubkey, &'static str> = [
|
||||
@@ -249,6 +253,7 @@ lazy_static! {
|
||||
(demote_program_write_locks::id(), "demote program write locks to readonly #19593"),
|
||||
(allow_native_ids::id(), "allow native program ids in program derived addresses"),
|
||||
(check_seed_length::id(), "Check program address seed lengths"),
|
||||
(fix_write_privs::id(), "fix native invoke write privileges"),
|
||||
/*************** ADD NEW FEATURES HERE ***************/
|
||||
]
|
||||
.iter()
|
||||
|
Reference in New Issue
Block a user