Constant solana_sdk::syscalls::MAX_CPI_ACCOUNT_INFOS
source · pub const MAX_CPI_ACCOUNT_INFOS: usize = 128; // 128usize
Expand description
Maximum number of account info structs that can be used in a single CPI invocation. A limit on account info structs is effectively the same as limiting the number of unique accounts. 128 was chosen to match the max number of locked accounts per transaction (MAX_TX_ACCOUNT_LOCKS).