The previous limit has not been removed, it's just become practically unreachable.
With the new rules, the call cannot consume more than 63/64 of the gas of the parent. So if your gas is X, then N
CALL
s in, it will be max X * (63/64)^n
.
And to be correct, the gas is even less than that, since 63/64 is defined as "all but one 64th" of N as N - floor(N / 64), so there's also a factor of flooring to integers which has an effect. Also, the actual CALL
cost and PUSH
operations required will also reduce the practical limit.
From the EIP:
Note that with the given parameters, the de-facto maximum call stack depth is limited to ~340 (down from ~1024), mitigating the harm caused by any further potential quadratic-complexity DoS attacks that rely on calls.