Open anajuliabit opened 17 hours ago
@anajuliabit is there any optimizer_details
section in toml file? could you share a way to reproduce this failure? thank you!
@grandizzy there is not, you can check here https://github.com/moonwell-fi/moonwell-contracts-v2/blob/main/foundry.toml
to reproduce:
clone https://github.com/moonwell-fi/moonwell-contracts-v2 then run
forge coverage --ir-minimum
I am getting a seg fault on solc, so probably not too much we can do here, maybe you can reorg contracts to avoid such...
See more: https://github.com/foundry-rs/foundry/issues/3357
[⠰] Compiling...
[⠔] Compiling 428 files with Solc 0.8.19
[⠒] Compiling 43 files with Solc 0.6.12
[⠑] Compiling 12 files with Solc 0.8.10
[⠘] Solc 0.6.12 finished in 16.31ms
[⠒] Solc 0.8.10 finished in 1.03s
Error: solc exited with signal: 11 (SIGSEGV) (core dumped)
<empty output>
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (25f24e6 2024-09-30T00:22:05.952969000Z)
What command(s) is the bug in?
forge coverage
Operating System
macOS (Apple Silicon)
Describe the bug
I suspect that the foundry or some dependency is setting the
inliner
configuration for the compiler under the hoodfoundry.toml: