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

feat: allow passing extra cli args to solc + some cleanup #171

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Jul 16, 2024

This refactors Compiler a bit moving some of the configuration methods from CompilerInput to CompilerSettings, preferring sanitization of settings during input construction instead of in with_* methods of version-aware input.

Instead of using JSON solc settings, I've added separate SolcSettings type divided into JSON and CLI settings

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm, one naming suggestion

crates/compilers/src/compilers/solc/mod.rs Outdated Show resolved Hide resolved
@klkvr klkvr merged commit db66310 into main Jul 17, 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.

2 participants