Skip to content

feat(solc-config): add support for unsafe-via-ir option#168

Merged
samlaf merged 3 commits intoseismicfrom
feat--add-support-for-solc-unsafe-via-ir-config
Feb 23, 2026
Merged

feat(solc-config): add support for unsafe-via-ir option#168
samlaf merged 3 commits intoseismicfrom
feat--add-support-for-solc-unsafe-via-ir-config

Conversation

@samlaf
Copy link
Contributor

@samlaf samlaf commented Feb 23, 2026

Adding option to pass --unsafe-via-ir option down to ssolc.
This updates the seismic-compiler to get the similar changes from SeismicSystems/seismic-compilers#18

Needed because versions of ssolc (SeismicSystems/seismic-solidity#204) require --unsafe-via-ir argument, which foundry's config didn't support before this. Now one can change foundry.toml to have

via_ir = true
unsafe_via_ir = true

and both of these will be passed down to ssolc.

chore: Also fixed .gitignore since it was ignoring crates/cli/src/opts/build by mistake.

Also fixed .gitignore since it was ignoring crates/cli/src/opts/build by mistake.
@samlaf samlaf merged commit 08913bc into seismic Feb 23, 2026
6 checks passed
@samlaf samlaf deleted the feat--add-support-for-solc-unsafe-via-ir-config branch February 23, 2026 20:13
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.

1 participant