mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-23 13:19:54 +00:00
update eip-3.md
This commit is contained in:
parent
d964470d79
commit
510a0a2ac6
@ -37,3 +37,7 @@ It is possible to defend against this in two ways:
|
||||
# Specification
|
||||
|
||||
The opcode `CALLDEPTH` should return the remaining call stack depth. A value of `0` means that the call stack is exhausted, and no further calls can be made.
|
||||
|
||||
# Rationale
|
||||
|
||||
The actual call stack depth, as well as the call stack depth limit, are present in the EVM during execution, but just not available within the EVM. The implementation should be fairly simple and would provide a cheap and way to protect against call stack attacks.
|
||||
|
Loading…
x
Reference in New Issue
Block a user