ApeWorX / ape-solidity

Solidity compiler plugin for the Ape Framework
https://www.apeworx.io/
Apache License 2.0
17 stars 23 forks source link

Enable usage of `viaIR` compiler flag for compatible solidity versions [APE-840] #94

Closed 0xcefa1090d closed 9 months ago

0xcefa1090d commented 1 year ago

Overview

Provide a simple overview of what you wish to see added. Please include:

As of v0.8.13, the solidity compiler allows code generation through the Yul IR via the --via-ir flag. One noticeable benefit of using this flag is handling stack too deep errors.

Currently, the ape-solidity plugin doesn't have the ability to enable the --via-ir flag, and it would be useful to have the option to do so.

Specification

A simple config file option via_ir would be sufficient.

antazoey commented 9 months ago

fixed in https://github.com/ApeWorX/ape-solidity/pull/117