Lectura rápida
Empieza por la explicación más corta y útil antes de profundizar.
The maximum depth of 4 nested cross-program invocations (CPIs) allowed within a single Solana transaction. Program A can call Program B, which can call Program C, which can call Program D, but no further nesting is permitted. This limit prevents unbounded recursion, stack overflows, and excessive compute consumption. The runtime enforces this limit and returns an error if exceeded.