solana_sdk::syscalls

Constant MAX_CPI_INSTRUCTION_ACCOUNTS

Source
pub const MAX_CPI_INSTRUCTION_ACCOUNTS: u8 = u8::MAX; // 255u8
Expand description

Maximum CPI instruction accounts. 255 was chosen to ensure that instruction accounts are always within the maximum instruction account limit for SBF program instructions.