You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running forge coverage on https://github.com/gakonst/v3-periphery-foundry produces a "Stack too deep" error, while forge test is able to run. Tried playing around with the optimizer settings and via-ir, to no avail.
lain@k v3-periphery % forge coverage
[⠢] Compiling...
[⠰] Compiling 132 files with 0.7.6
[⠔] Solc 0.7.6 finished in 2.20s
Error:
Compiler run failed
CompilerError: Stack too deep when compiling inline assembly: Variable headStart is 1 slot(s) too deep inside the stack.
lain@k v3-periphery % forge test
[⠆] Compiling...
No files changed, compilation skipped
Running 1 test for contracts/foundry-tests/utils/Path.sol:PathsTest
[PASS] testRoundtrip() (gas: 4222)
Test result: ok. 1 passed; 0 failed; finished in 513.42µs
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (1a56901 2023-02-15T00:05:20.802314Z)
What command(s) is the bug in?
forge coverage
Operating System
macOS (Apple Silicon)
Describe the bug
Running
forge coverage
on https://github.com/gakonst/v3-periphery-foundry produces a "Stack too deep" error, whileforge test
is able to run. Tried playing around with the optimizer settings andvia-ir
, to no avail.The text was updated successfully, but these errors were encountered: