solidity
solidity copied to clipboard
local variable in solidity
Abstract
can you increase stack size for local variables
Motivation
Specification
Backwards Compatibility
@tharinduvindula The number of accessible stack elements is a property of the EVM and can't be changed by the compiler. There is a draft EIP that targets this issue though: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-663.md.
Please consider e.g. decreasing the number of parameters and / or return parameters of your function. Most of the times you can work around this limitation by simplifying and modularizing your functions. You can also reach out to https://gitter.im/ethereum/solidity for further advice.
I'll close this issue for now, please feel free to re-open if needed.