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 have a lot utests that does not work without "via-ir". The compilation with "via-ir" is slow. However, I want to make the compilation a littler faster. I followed ethereum/solidity#12533 (comment) and try to set "yulDetails" in my foundry.toml.
And I followed the foundry-book , and add optimizer_details.yul_details to my foundry.toml:
Unluckily, the above configuration does not work. The yul_details and its child keys should all be in Camel Case. The working configuration is as follows:
zerosnacks
changed the title
YulDetails is camel but not snake
Inconsistent snake_case / camelcase in config (YulDetails, stackAllocation, etc..)
Jul 2, 2024
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (cf104a5 2023-06-18T05:38:12.036372000Z)
What command(s) is the bug in?
No response
Operating System
macOS (Intel)
Describe the bug
I have a lot utests that does not work without "via-ir". The compilation with "via-ir" is slow. However, I want to make the compilation a littler faster. I followed ethereum/solidity#12533 (comment) and try to set "yulDetails" in my
foundry.toml
.And I followed the foundry-book , and add
optimizer_details.yul_details
to myfoundry.toml
:Unluckily, the above configuration does not work. The
yul_details
and its child keys should all be inCamel Case
. The working configuration is as follows:If the
snake case
is expected, I think this must be a bug. Or you should update thefoundry book
.The text was updated successfully, but these errors were encountered: