Skip to content

Commit 9b64cba

Browse files
authored
Update faq.md with an optimizer config workaround (#822)
1 parent bc54ef5 commit 9b64cba

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/faq.md

+12
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,18 @@ Work-arounds for this problem are tracked below. (These are only available in ha
110110
}
111111
```
112112

113+
**Work-around #3**
114+
+ Set the `.solcover.js` option: `configureYulOptimizer` to `true`.
115+
+ Set the `.solcover.js` option: `solcOptimizerDetails` to:
116+
```js
117+
{
118+
yul: true,
119+
yulDetails: {
120+
optimizerSteps: ""
121+
},
122+
}
123+
```
124+
113125
## Notes on gas distortion
114126

115127
Solidity-coverage instruments by injecting statements into your code, increasing its execution costs.

0 commit comments

Comments
 (0)