Questions tagged [stack]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
25 views

How to run instrumented EVM in go

I'm working on a project where I would like to catch internal transactions and figure out the stack trace. For this reason, I have been trying to define an EVM log collector as recommended here. ...
0
votes
1answer
58 views

Stack too deep problem

I try to add more property to the scenario struct but when I run the compile the same error appear: struct Scenario { uint id; address payable author; address editor; ...
0
votes
1answer
27 views

Where does contract’s call failure behavior is definied in the yellow paper?

If a contract’s call succeeds then 0x1 is pushed on the stack and 0x0 otherwise. Where is this behavior defined in the yellow paper ? Also, are there cases were sending ether isn’t reverted in ...
5
votes
1answer
65 views

Why is the subcall gas limit set to 63/64th of the remaining gas?

From the solidity docs: Calls are limited to a depth of 1024, which means that for more complex operations, loops should be preferred over recursive calls. Furthermore, only 63/64th of the gas can ...
2
votes
1answer
26 views

Is it possible to disable “Stack too deep” errors while in development?

I know about the Stack too deep error and the workarounds for it, but I was wondering whether it's possible to disable it while in development. Is there a pragma experimental flag for this, similar ...
2
votes
2answers
223 views

Solidity modifiers: good or bad?

I've heard arguments both for and against Solidity modifiers. On the one hand, they make the code very readable, and the intents behind the calls are very clear. On the other, they increase the ...