Skip to content

Commit

Permalink
Update faq.md with an optimizer config workaround (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
remedcu authored Jan 26, 2024
1 parent bc54ef5 commit 9b64cba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ Work-arounds for this problem are tracked below. (These are only available in ha
}
```

**Work-around #3**
+ Set the `.solcover.js` option: `configureYulOptimizer` to `true`.
+ Set the `.solcover.js` option: `solcOptimizerDetails` to:
```js
{
yul: true,
yulDetails: {
optimizerSteps: ""
},
}
```

## Notes on gas distortion

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

0 comments on commit 9b64cba

Please sign in to comment.