rialo_s_compute_budget_program/lib.rs
1// Copyright (c) Subzero Labs, Inc.
2// SPDX-License-Identifier: Apache-2.0
3// This file is either (a) original to Subzero Labs, Inc. or (b) derived from the Anza codebase and modified by Subzero Labs, Inc.
4
5use rialo_s_program_runtime::declare_process_instruction;
6
7pub const DEFAULT_COMPUTE_UNITS: u64 = 150;
8
9declare_process_instruction!(Entrypoint, DEFAULT_COMPUTE_UNITS, |_invoke_context| {
10 // Do nothing, compute budget instructions handled by the runtime
11 Ok(())
12});