Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Aha so memory is used to backup the stack. Since adding more items to memory increases the gas price for the added items this would make call depth attacks impossible because all of these attacks (up until a very high gas block limit) would run in out-of-gas. Commented Jul 6, 2018 at 13:58
  • Memory of your node is used for the call stack. The bigger the EVM memory, the bigger the cost in your node memory. Remember how expanding the EVM memory costs gas? That's why. Commented Jul 6, 2018 at 16:54