solana_compute_budget_program/
lib.rs

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