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
I wonder if the error is related to this fix included in the most recent release of Foundry? foundry-rs/foundry#9673.
As a side note: This issue is more relevant to / compounded for me because I'm also using slither-action in my ci, which currently only supports using the latest nightly version AFAIK.
Apologies if this is the wrong repo to open this issue in. Not sure if this is something Foundry needs to fix or slither
@chad-js thanks for the detailed report! it indeed looks like that Foundry PR introduced the change that is causing the failure. I've let the Foundry team know on the PR. In the meantime and as a workaround, you can add an explicit optimizer setting to your foundry.toml (e.g. optimizer = false) and that might restore things to working order.
It also looks like the newer foundryup now tracks a stable release by default, so I'll make an issue to update that on the Slither action.
Hey there! Got the issue today and found this issue by chance.
Indeed, setting optimizer = false made Slither run correctly.
Thank you for the temporary workaround
Describe the issue:
On the latest nightly version of Foundry at time of writing, Slither errors out for me (see attached log snippet).
Using a previous version of Foundry (e.g. the most recent one before the latest), slither works fine.
I wonder if the error is related to this fix included in the most recent release of Foundry? foundry-rs/foundry#9673.
As a side note: This issue is more relevant to / compounded for me because I'm also using slither-action in my ci, which currently only supports using the latest nightly version AFAIK.
Apologies if this is the wrong repo to open this issue in. Not sure if this is something Foundry needs to fix or slither
Code example to reproduce the issue:
My foundry.toml configuration:
Version:
0.10.4
Relevant log output:
The text was updated successfully, but these errors were encountered: