Skip to content

Commit c680e54

Browse files
authoredSep 21, 2023
change .solcoverjs occurencies to .solcover.js (#777)
1 parent dea15cd commit c680e54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎docs/faq.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Downloading compiler version 0.5.16
5555
Extra non-whitespace after JSON value.
5656
```
5757

58-
...try setting the `measureStatementCoverage` option to `false` in `.solcoverjs`. This will reduce the footprint of
58+
...try setting the `measureStatementCoverage` option to `false` in `.solcover.js`. This will reduce the footprint of
5959
the instrumentation solidity-coverage adds to your files. You'll still get line, branch and function coverage but the data Istanbul collects
6060
for statements will be omitted.
6161

@@ -92,11 +92,11 @@ If your project is large, complex and uses ABI encoder V2 or Solidity >= V8, you
9292
Work-arounds for this problem are tracked below. (These are only available in hardhat. If you're using hardhat and none of them work for you, please open an issue.)
9393

9494
**Work-around #1**
95-
+ Set the `.solcoverjs` option `configureYulOptimizer` to `true`.
95+
+ Set the `.solcover.js` option `configureYulOptimizer` to `true`.
9696

9797
**Work-around #2**
98-
+ Set the `.solcoverjs` option: `configureYulOptimizer` to `true`.
99-
+ Set the `.solcoverjs` option: `solcOptimizerDetails` to:
98+
+ Set the `.solcover.js` option: `configureYulOptimizer` to `true`.
99+
+ Set the `.solcover.js` option: `solcOptimizerDetails` to:
100100
```js
101101
{
102102
peephole: false,

0 commit comments

Comments
 (0)
Please sign in to comment.