1

The thing is that I need to reach the maximum stack depth. When I try to recursively call myself I run out of gas, because each call requires at least ~20k gas.

1
  • 1
    This seems like a duplicate to ethereum.stackexchange.com/questions/8216/… or otherwise more information is needed. CALL opcodes only cost 40 gas; writing a new value to storage is 20,000 gas.
    – eth
    Commented Aug 23, 2016 at 19:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.