Skip to content

Commit e630a2b

Browse files
authored
Update faq.md with a workaround
sc-forks#715 (comment)
1 parent bfb7e32 commit e630a2b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/faq.md

Lines changed: 12 additions & 0 deletions
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)