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 to how there is one for "ABIEncoderV2"?

1 Answer 1


No. The stack is part of the EVM specification and you can't change it.

Hope it helps.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.