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