We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CompilerError: Stack too deep when compiling inline assembly: Variable headStart is 1 slot(s) too deep inside the stack.
The text was updated successfully, but these errors were encountered:
Same as this bug.
Sorry, something went wrong.
I think the problem comes from hardhat, instead of the coverage plugin
See the following issue ethereum/solidity#11638 & #760 you will find a list of possible solutions.
For me, the following fix has worked: solidity: { version: '0.8.17', settings: { optimizer: { enabled: true, runs: 200, details: { yul: true } }, viaIR: false } }
solidity: { version: '0.8.17', settings: { optimizer: { enabled: true, runs: 200, details: { yul: true } }, viaIR: false } }
I think the problem comes from hardhat, instead of the coverage plugin See the following issue ethereum/solidity#11638 & #760 you will find a list of possible solutions. For me, the following fix has worked: solidity: { version: '0.8.17', settings: { optimizer: { enabled: true, runs: 200, details: { yul: true } }, viaIR: false } }
your fix seems to work for me, thanks!
Closing here - all stack too deep & viaIR discussion will continue at #715
No branches or pull requests
CompilerError: Stack too deep when compiling inline assembly: Variable headStart is 1 slot(s) too deep inside the stack.
The text was updated successfully, but these errors were encountered: