Skip to content

Add via-ir property to CompilerVersion#661

Open
smonicas wants to merge 4 commits intomasterfrom
add-via-ir
Open

Add via-ir property to CompilerVersion#661
smonicas wants to merge 4 commits intomasterfrom
add-via-ir

Conversation

@smonicas
Copy link
Copy Markdown
Collaborator

No description provided.

optimized=is_optimized(solc_arguments)
or self.to_dict().get("settings", {}).get("optimizer", {}).get("enabled", False),
optimize_runs=self.to_dict().get("settings", {}).get("optimizer", {}).get("runs", None),
via_ir=is_via_ir(solc_arguments),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should this also account for viaIR in the settings dict?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yes added

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