Closed paulperegud closed 8 years ago
.send
is performed by EVM CALL instruction. It will get a new stack. In any case, if a call fails with an exception all changes made in the call are reverted (including value transfer) and .send
will return false
.
What will happen if attacker will attempt to bump into stack depth limit while being in our code?
Scenario: StackLimit = N
Will EVM just do what it does when
throw
or "out of gas" occurs and restore original state?