Skip to content
New issue

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

fix: sanitize settings.optimizer.details.inliner #216

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

grandizzy
Copy link
Contributor

Ref foundry-rs/foundry#9322 (comment)
ethereum/solidity#15576 (comment)

Set inliner to None since it is properly supported from 0.8.5 version( see Standard JSON: Properly allow the inliner setting under settings.optimizer.details https://soliditylang.org/blog/2021/06/10/solidity-0.8.5-release-announcement/)

Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually can we put this in sanitize, and call that in Foundry?
It might make a difference if the default is / ever will be changed to true

@DaniPopes DaniPopes changed the title fix: set inliner to None in with_via_ir_minimum_optimization fix: sanitize inliner config Nov 18, 2024
@DaniPopes DaniPopes changed the title fix: sanitize inliner config fix: sanitize optimizer.details.inliner config Nov 18, 2024
@DaniPopes DaniPopes changed the title fix: sanitize optimizer.details.inliner config fix: sanitize settings.optimizer.details config Nov 18, 2024
@DaniPopes DaniPopes changed the title fix: sanitize settings.optimizer.details config fix: sanitize settings.optimizer.details.inliner Nov 18, 2024
@klkvr klkvr merged commit d8dc871 into foundry-rs:main Nov 18, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants