You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| skipFiles |*Array*|`[]`| Array of contracts or folders (with paths expressed relative to the `contracts` directory) that should be skipped when doing instrumentation.(ex: `[ "Routers", "Networks/Polygon.sol"]`) :warning:**RUN THE HARDHAT CLEAN COMMAND AFTER UPDATING THIS**|
98
+
| irMinimum |*Boolean*|`[]`| Speeds up test execution times when solc is run in `viaIR` mode. If your project successfully compiles while generating coverage with this option turned on (it may not!) it's worth using |
98
99
| modifierWhitelist |*String[]*|`[]`| List of modifier names (ex: `onlyOwner`) to exclude from branch measurement. (Useful for modifiers which prepare something instead of acting as a gate.)) |
99
100
| mocha |*Object*|`{ }`|[Mocha options][3] to merge into existing mocha config. `grep` and `invert` are useful for skipping certain tests under coverage using tags in the test descriptions. [More...][24]|
100
101
| measureStatementCoverage |*boolean*|`true`| Computes statement (in addition to line) coverage. [More...][34]|
@@ -113,9 +114,9 @@ module.exports = {
113
114
| onCompileComplete[<sup>*</sup>][14]|*Function*|| Hook run *after* compilation completes, *before* tests are run. Useful if you have secondary compilation steps or need to modify built artifacts. [More...][23]|
114
115
| onTestsComplete[<sup>*</sup>][14]|*Function*|| Hook run *after* the tests complete, *before* Istanbul reports are generated. [More...][23]|
115
116
| onIstanbulComplete[<sup>*</sup>][14]|*Function*|| Hook run *after* the Istanbul reports are generated, *before* the coverage task completes. Useful if you need to clean resources up. [More...][23]|
116
-
|**:warning:DEPRECATED**||||
117
-
| configureYulOptimizer |*Boolean*| false |**(Deprecated since 0.8.7)**Setting to `true`should resolve "stack too deep" compiler errors in large projects using ABIEncoderV2|
118
-
| solcOptimizerDetails |*Object*|`undefined`|**(Deprecated since 0.8.7))**Must be used in combination with `configureYulOptimizer`. Allows you to configure solc's [optimizer details][1001]. Useful if the default remedy for stack-too-deep errors doesn't work in your case (See [FAQ: Running out of stack][1002] ). |
117
+
|**:warning:LOW LEVEL**||||
118
+
| configureYulOptimizer |*Boolean*| false | Setting to `true`lets you specify optimizer details (see next option). If no details are defined it defaults to turning on the yul optimizer and enabling stack allocation|
119
+
| solcOptimizerDetails |*Object*|`undefined`|Must be used in combination with `configureYulOptimizer`. Allows you to configure solc's [optimizer details][1001]. (See [FAQ: Running out of stack][1002] ). |
0 commit comments