solana_program::syscalls

Constant MAX_CPI_INSTRUCTION_DATA_LEN

Source
pub const MAX_CPI_INSTRUCTION_DATA_LEN: u64 = _; // 10_240u64
Expand description

Maximum CPI instruction data size. 10 KiB was chosen to ensure that CPI instructions are not more limited than transaction instructions if the size of transactions is doubled in the future.