Call Depth Attacks
Call depth attacks occur when an attacker forces a contract to exceed the maximum allowed depth of the call stack. In older versions of the Ethereum Virtual Machine, there was a strict limit on how many nested calls could occur, and hitting this limit would cause the transaction to fail.
Attackers would use this to cause a contract to revert in a way that left the system in an inconsistent state or bypassed security checks. While newer updates have largely mitigated the specific call-depth limit, the underlying concept of nested call vulnerabilities remains relevant.
Understanding call depth is crucial for developers building complex, multi-contract financial systems that rely on nested interactions. It serves as a reminder of the physical limitations of the execution environment.