Assumption 1:
If we create a local variable, call stack increases by 1, because we put this new local variable on the stack. if I create another local variable, it again increases by 1. So, with this logic, i shouldn't be able to create more than 1024 local variables ?
Assumption 2:
maybe solidity means 1024 of external calls . but as you can see, it justs says this:
External function calls can fail any time because they exceed the maximum call stack of 1024 It doesn't concrete and just say call stack of 1024 .
So, what does it mean exactly ? call stack increases even for local variables.
One is exclusively for external calls. It cannot be inspected from the EVM. The other one is used by EVM to store a manipulate data.
– Ismael Feb 06 '21 at 16:32stack is the same thing as call stack. Isn't this principle in the ethereum world the same ? – Nika Kurashvili Feb 06 '21 at 16:39One is exclusively for external calls. It cannot be inspected from the EVM. Why can't it inspected ? in remix, I can see that when external call is created, i can see its stack and memory respectively. – Nika Kurashvili Feb 06 '21 at 17:21callopcode was used, I can see the stack of the callee function. what did you mean by not being able to inspect ? – Nika Kurashvili Feb 06 '21 at 17:37