1 2 3 4 5 6 7 8 9 10 11 12
use solana_program_runtime::declare_process_instruction; pub const DEFAULT_COMPUTE_UNITS: u64 = 150; declare_process_instruction!( process_instruction, DEFAULT_COMPUTE_UNITS, |_invoke_context| { // Do nothing, compute budget instructions handled by the runtime Ok(()) } );