Synchronize and cleanup instruction processor lists (#5356)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
//use solana_programs::get_default_native_instruction_processors;
|
||||
use solana_sdk::{
|
||||
account::Account,
|
||||
fee_calculator::FeeCalculator,
|
||||
@ -66,6 +67,7 @@ pub fn create_genesis_block_with_leader(
|
||||
),
|
||||
),
|
||||
])
|
||||
// Bare minimum
|
||||
.native_instruction_processors(&[
|
||||
solana_bpf_loader_program!(),
|
||||
solana_vote_program!(),
|
||||
|
@ -157,7 +157,7 @@ impl Default for MessageProcessor {
|
||||
}
|
||||
|
||||
impl MessageProcessor {
|
||||
/// Add a static entrypoint to intercept intructions before the dynamic loader.
|
||||
/// Add a static entrypoint to intercept instructions before the dynamic loader.
|
||||
pub fn add_instruction_processor(
|
||||
&mut self,
|
||||
program_id: Pubkey,
|
||||
|
Reference in New Issue
Block a user