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

Add an option for via-ir for compiling solidity using the new codegen #2350

Closed
hrkrshnn opened this issue May 2, 2022 · 1 comment
Closed

Comments

@hrkrshnn
Copy link
Member

hrkrshnn commented May 2, 2022

From https://blog.soliditylang.org/2022/03/16/solidity-0.8.13-release-announcement/#yul-ir-pipeline-production-ready

You can enable the new pipeline using the --via-ir commandline switch or by setting settings.viaIR to true in Standard JSON input (i.e. at the same level where you would have the optimizer key).

@PaulRBerg
Copy link

PaulRBerg commented Dec 27, 2022

Note that this can currently be done by passing a configuration file (basically, by using standard-json):

{
  "settings": {
    "viaIR": true
  }
}

Screenshot 2022-12-27 at 3 55 05 PM

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

No branches or pull requests

3 participants